Mercurial > hg > svgui
changeset 850:0c993091a4c9
Fix uninitialised variable (from coverity scan)
author | Chris Cannam |
---|---|
date | Wed, 03 Sep 2014 11:48:18 +0100 |
parents | d7f6f60a8b30 |
children | cf23656a8ca6 |
files | layer/TextLayer.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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(),