qt5base-lts/tests/benchmarks/gui
Marc Mutz 6f1821dfa3 benchmarks: fix some (future) -Wunused-result warnings
Clang 10 warns about unused results of relational operators, which is
where this is coming from.

Fix by adding the usual prefix

  [[maybe_unused]] auto r = ~~~;

to silence the warning. Do this elsewhere, too, since [[nodiscard]] is
slowly being rolled out across all our APIs. This is not a complete
sweep, though.

Not picking to 5.15, because this pattern doesn't work there and I
don't want to introduce a new one.

Pick-to: 6.3 6.2
Change-Id: I40dd8ad07496b686979dce533e044cbb486e30f3
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2022-01-24 21:11:22 +01:00
..
animation Fix some warnings 2021-03-25 09:24:03 +01:00
image Optimize RGBA64->RGBA64PM for SSE2/AVX2 2021-02-03 08:22:16 +01:00
kernel Replace deprecated APIs in metatype/variant benchmarks 2021-04-14 14:38:42 +02:00
math3d Fix some warnings 2021-03-29 16:06:25 +02:00
painting benchmarks: fix some (future) -Wunused-result warnings 2022-01-24 21:11:22 +01:00
text Remove qmake project files for benchmarks 2021-02-01 21:14:01 +01:00
CMakeLists.txt Convert remaining tests/benchmarks 2019-11-04 15:48:51 +00:00