Mercurial > hg > svgui
diff layer/TextLayer.cpp @ 850:0c993091a4c9
Fix uninitialised variable (from coverity scan)
author | Chris Cannam |
---|---|
date | Wed, 03 Sep 2014 11:48:18 +0100 |
parents | 1d526ba11a24 |
children | 4a578a360011 |
line wrap: on
line diff
--- 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(),