qt6-bb10/tests/auto/corelib/tools/qspan
Marc Mutz 6736fe3a0f tst_QSpan: fix GCC 11 -Wmaybe-uninitialized
GCC 11 doesn't understand that 'i' isn't ever read from (because all
spans created over it have size zero), but initialize it nonetheless
to suppress the warning.

Amends f82cf6333e.

Pick-to: 6.7
Change-Id: Ibfb3e9b7fdcbe93c43b7873986c74b4b5a0c9e54
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
2024-05-19 12:24:41 +00:00
..
CMakeLists.txt CMake: Make a few more auto tests standalone 2024-03-14 01:14:18 +01:00
tst_qspan.cpp tst_QSpan: fix GCC 11 -Wmaybe-uninitialized 2024-05-19 12:24:41 +00:00