summaryrefslogtreecommitdiffstats
path: root/src/opengl/qopengldebug.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2022-03-16 20:59:39 +0100
committerThiago Macieira <thiago.macieira@intel.com>2022-03-17 06:14:20 +0000
commit021134195e405745a61c64ad7dd801e24a1b37e4 (patch)
treecb57cf0457ae6684266748971e1a1873a78e01ec /src/opengl/qopengldebug.h
parentd10b910e39c1d018c3d78f7f9c1ef31b37e4a132 (diff)
QHash: fix -Werror=maybe-uninitialized (GCC 11.2)
The compiler doesn't understand understand that the only way ok can be true is for qstrntoll() to have been executed. qhash.cpp:158:9: error: ‘seed’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 158 | if (seed) { | ^~ Help poor GCC by initializing the variable unconditionally. Amends cc5cc3225d6a397270a6d4c615e850e43db805c4. Change-Id: Ic8387e0add2291d994f7f4d96c4bc614b2a8aa99 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/opengl/qopengldebug.h')
0 files changed, 0 insertions, 0 deletions