diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-09-27 12:53:12 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-09-27 12:53:12 +0000 |
commit | 7ece1550e185039914a65d93360769e5954ba407 (patch) | |
tree | 5cd884cd59a02bcfcb20a0b71b30262f69e6a0f8 /tests/performance_tests | |
parent | unit_tests: add check for page size > 0 before dividing (diff) | |
download | monero-7ece1550e185039914a65d93360769e5954ba407.tar.xz |
performance_test: fix bad last argument calling add_arg
Coverity 182572
Diffstat (limited to 'tests/performance_tests')
-rw-r--r-- | tests/performance_tests/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/performance_tests/main.cpp b/tests/performance_tests/main.cpp index 7c5135c65..87a1573c2 100644 --- a/tests/performance_tests/main.cpp +++ b/tests/performance_tests/main.cpp @@ -75,10 +75,10 @@ int main(int argc, char** argv) const command_line::arg_descriptor<bool> arg_verbose = { "verbose", "Verbose output", false }; const command_line::arg_descriptor<bool> arg_stats = { "stats", "Including statistics (min/median)", false }; const command_line::arg_descriptor<unsigned> arg_loop_multiplier = { "loop-multiplier", "Run for that many times more loops", 1 }; - command_line::add_arg(desc_options, arg_filter, ""); - command_line::add_arg(desc_options, arg_verbose, ""); - command_line::add_arg(desc_options, arg_stats, ""); - command_line::add_arg(desc_options, arg_loop_multiplier, ""); + command_line::add_arg(desc_options, arg_filter); + command_line::add_arg(desc_options, arg_verbose); + command_line::add_arg(desc_options, arg_stats); + command_line::add_arg(desc_options, arg_loop_multiplier); po::variables_map vm; bool r = command_line::handle_error_helper(desc_options, [&]() |