aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cli/timing_tests.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cli/timing_tests.cpp b/src/cli/timing_tests.cpp
index 7177cdc25..587084ecd 100644
--- a/src/cli/timing_tests.cpp
+++ b/src/cli/timing_tests.cpp
@@ -335,7 +335,7 @@ class Timing_Test_Command : public Command
Timing_Test_Command() : Command("timing_test test_type --test-data-file= --test-data-dir=src/extra_tests/timing/timing-tests/data/ --warmup-runs=1000 --measurement-runs=10000")
{}
- virtual void go()
+ virtual void go() override
{
const std::string test_type = get_arg("test_type");
const size_t warmup_runs = get_arg_sz("warmup-runs");
@@ -390,7 +390,7 @@ class Timing_Test_Command : public Command
private:
std::unique_ptr<Timing_Test> lookup_timing_test(const std::string& test_type);
- virtual std::string help_text() const
+ virtual std::string help_text() const override
{
// TODO check feature macros
return (Command::help_text() +
@@ -447,6 +447,8 @@ std::unique_ptr<Timing_Test> Timing_Test_Command::lookup_timing_test(const std::
}
#endif
+ BOTAN_UNUSED(test_type);
+
return nullptr;
}