diff options
author | Andreas Buhr <andreas.buhr@qt.io> | 2020-11-27 10:17:26 +0100 |
---|---|---|
committer | Andreas Buhr <andreas.buhr@qt.io> | 2020-11-30 17:16:21 +0100 |
commit | 5e84023344bfe8987c3ce5edf57f30261d677d2c (patch) | |
tree | cb70346329e080fb1914f2146dd8fad2559d4c13 /tests/benchmarks/corelib/tools/containers-associative/main.cpp | |
parent | 687bd03d09b42faad4c8790c9508518c3d14b456 (diff) |
Fix warnings about unused variables in benchmarks
This patch removes two unused variables and marks one unused, fixing
three warnings.
Change-Id: I71f59839452590b82ffb5459a968f06bd434fb9a
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
Diffstat (limited to 'tests/benchmarks/corelib/tools/containers-associative/main.cpp')
-rw-r--r-- | tests/benchmarks/corelib/tools/containers-associative/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/benchmarks/corelib/tools/containers-associative/main.cpp b/tests/benchmarks/corelib/tools/containers-associative/main.cpp index 2f36bfda4f..555d4bf843 100644 --- a/tests/benchmarks/corelib/tools/containers-associative/main.cpp +++ b/tests/benchmarks/corelib/tools/containers-associative/main.cpp @@ -111,6 +111,7 @@ void testLookup(int size) val = container.value(i); } + Q_UNUSED(val); } void tst_associative_containers::lookup() |