summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Arve Sæther <jan-arve.saether@nokia.com>2009-08-26 13:06:00 (GMT)
committerJan-Arve Sæther <jan-arve.saether@nokia.com>2009-08-27 08:24:06 (GMT)
commitc9f03be3faffcc4fe97a6a47dcc780db55d0179f (patch)
tree99c278f42fecfa69e3747cb57d1e295c449ddba5
parent8ac7e812604d24fcbf28132a611d3b3e06120349 (diff)
downloadQt-c9f03be3faffcc4fe97a6a47dcc780db55d0179f.zip
Qt-c9f03be3faffcc4fe97a6a47dcc780db55d0179f.tar.gz
Qt-c9f03be3faffcc4fe97a6a47dcc780db55d0179f.tar.bz2
Remove warning.
It was initialized correctly though, just that some compilers could not see that.
-rw-r--r--src/gui/graphicsview/qgraphicsanchorlayout_p.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsanchorlayout_p.cpp b/src/gui/graphicsview/qgraphicsanchorlayout_p.cpp
index c965712..d4afa5b 100644
--- a/src/gui/graphicsview/qgraphicsanchorlayout_p.cpp
+++ b/src/gui/graphicsview/qgraphicsanchorlayout_p.cpp
@@ -554,7 +554,7 @@ bool QGraphicsAnchorLayoutPrivate::simplifyGraphIteration(QGraphicsAnchorLayoutP
qDebug("candidate list for sequential simplification:\n[%s]", qPrintable(strPath));
#endif
- bool forward;
+ bool forward = true;
AnchorVertex *prev = beforeSequence;
int intervalFrom = 0;