qt5base-lts/tests/auto/corelib/global/qglobal
Marc Mutz 6f27255cd4 tst_qglobal: fix an uninit'ed variable warning
GCC can't see through all the foreach code to determine whether the
loop will execute at least once, so don't play hardballs with the
compiler and initialize the variable.

Change-Id: I95756a99eda497a25aa277046df9895f558758c3
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2021-06-30 23:13:28 +02:00
..
.gitignore
CMakeLists.txt CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qglobal.c Fix warning about unused variable 2021-02-18 11:25:01 +01:00
tst_qglobal.cpp tst_qglobal: fix an uninit'ed variable warning 2021-06-30 23:13:28 +02:00