diff options
| author | Marc Mutz <marc.mutz@kdab.com> | 2015-01-18 13:34:59 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@kdab.com> | 2015-01-19 10:41:09 +0100 |
| commit | b18e6396bde2931a302b8fa5910268e23590c8a8 (patch) | |
| tree | cd72ed93c921cab3dc4efb910e798f56848ab97e /src/gui/doc/snippets/textdocument-css | |
| parent | 7fc8c560e21e7175b1fe33c988f3f30e4b326efe (diff) | |
QBenchmarkResult: fix uninitialized value
This manifested itself in a UBSan report about loading a non-enumerated
value from an enumeration variable:
src/testlib/qbenchmark_p.h:95:7: runtime error: load of value 11091, which is not a valid value for type 'QBenchmarkMetric'
(or similar).
The chosen value is simply QTest::QBenchmarkMetric(0).
Change-Id: I8492a871a71d89fa6f7902d38f9eecee4b060646
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/gui/doc/snippets/textdocument-css')
0 files changed, 0 insertions, 0 deletions
