summaryrefslogtreecommitdiffstats
path: root/src/sql/kernel/qsqldatabase.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2024-05-17 22:48:21 +0200
committerAhmad Samir <a.samirh78@gmail.com>2024-05-19 12:24:41 +0000
commit6736fe3a0f33d2c37927a79203999acb8ef7b343 (patch)
tree4709eff99b509576c29970560e61d1f2831fab26 /src/sql/kernel/qsqldatabase.cpp
parent725455ed3330b098effa7bfb7aa4a43f16be2a0d (diff)
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 f82cf6333e4e21c96d8b6bb272392f8142ead2b7. Pick-to: 6.7 Change-Id: Ibfb3e9b7fdcbe93c43b7873986c74b4b5a0c9e54 Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Diffstat (limited to 'src/sql/kernel/qsqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions