diff options
author | Jack Lloyd <[email protected]> | 2017-03-03 22:12:24 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-03-03 22:12:24 -0500 |
commit | 1085fda8c2e1170c8a78dbcb70016b5c0563dd5f (patch) | |
tree | 2a32292a29b36375dcfbcfac3aea50f811f9a9aa /src/cli | |
parent | 23cea08ffe2a3ff176a9a6e2f19e3720844ae958 (diff) |
Fix compiler warnings in timing_test CLI
Diffstat (limited to 'src/cli')
-rw-r--r-- | src/cli/timing_tests.cpp | 6 |
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; } |