aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/timing_tests.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-03-03 22:12:24 -0500
committerJack Lloyd <[email protected]>2017-03-03 22:12:24 -0500
commit1085fda8c2e1170c8a78dbcb70016b5c0563dd5f (patch)
tree2a32292a29b36375dcfbcfac3aea50f811f9a9aa /src/cli/timing_tests.cpp
parent23cea08ffe2a3ff176a9a6e2f19e3720844ae958 (diff)
Fix compiler warnings in timing_test CLI
Diffstat (limited to 'src/cli/timing_tests.cpp')
-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;
}