# HG changeset patch # User Chris Cannam # Date 1409741298 -3600 # Node ID 0c993091a4c9e9e179c035597297f3387547b1fa # Parent d7f6f60a8b3032ae5a6633dccf6cb7620804629d Fix uninitialised variable (from coverity scan) diff -r d7f6f60a8b30 -r 0c993091a4c9 layer/TextLayer.cpp --- a/layer/TextLayer.cpp Wed Sep 03 11:47:41 2014 +0100 +++ b/layer/TextLayer.cpp Wed Sep 03 11:48:18 2014 +0100 @@ -336,7 +336,7 @@ QPoint localPos; TextModel::Point illuminatePoint(0); - bool shouldIlluminate; + bool shouldIlluminate = false; if (v->shouldIlluminateLocalFeatures(this, localPos)) { shouldIlluminate = getPointToDrag(v, localPos.x(), localPos.y(),