summaryrefslogtreecommitdiffstats
path: root/examples/qtestlib/tutorial5
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qtestlib/tutorial5')
-rw-r--r--examples/qtestlib/tutorial5/benchmarking.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/qtestlib/tutorial5/benchmarking.cpp b/examples/qtestlib/tutorial5/benchmarking.cpp
index c731677c1b..3a245f22cb 100644
--- a/examples/qtestlib/tutorial5/benchmarking.cpp
+++ b/examples/qtestlib/tutorial5/benchmarking.cpp
@@ -92,6 +92,7 @@ void TestBenchmark::multiple()
result = (str1 == str2);
}
}
+ Q_UNUSED(result);
}
//! [2]
@@ -127,6 +128,7 @@ void TestBenchmark::series()
result = (str1 == str2);
}
}
+ Q_UNUSED(result);
}
//! [5]