QRegExp benchmark: fix GCC -Wmaybe-unused


It would be nice if we could somehow communicate to the compiler
centrally that QBENCHMARK bodies will be run at least once, but I
don't see how, with the current API design, so fix the warning in the
user, with clenched teeth.

Pick-to: 6.4 6.3 6.2
Change-Id: I943ca4f5db92c3d65fa60d3bb2e1268ab8ca86d5
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
commitada2f6fd4d0ed0edf2c5a67a0eaa826606b1b2a7
parentdbd9e7452c593bf4653ca996284032cb4daf7ba0
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeWed, 6 Jul 2022 10:31:16 +0200