summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-03-01 10:18:56 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-04 04:34:15 +0100
commit380de7f8e70cfa5f335a065e446dc707d416c1a6 (patch)
tree98cb25d8979ae39db64703e4adc1f5b3d08df291 /src/corelib/thread
parent7e872de76ee0591d4fea72f4ef07637ca5f7ca0d (diff)
Fix use uninitialized, detected by GCC 4.8
If the widget \a field is not present on this form, getWidgetPosition might not fill in the role variable. GCC is correct. qformlayout.cpp:1690:19: error: ‘role’ may be used uninitialized in this function [-Werror=maybe-uninitialized] Change-Id: Ia67991a71e8f1ceacb9d6370c7028c454ef630c6 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/corelib/thread')
0 files changed, 0 insertions, 0 deletions