mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 00:07:38 +00:00
performance_test: fix bad last argument calling add_arg
Coverity 182572
This commit is contained in:
parent
a085da3247
commit
7ece1550e1
1 changed files with 4 additions and 4 deletions
|
@ -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_verbose = { "verbose", "Verbose output", false };
|
||||||
const command_line::arg_descriptor<bool> arg_stats = { "stats", "Including statistics (min/median)", 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 };
|
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_filter);
|
||||||
command_line::add_arg(desc_options, arg_verbose, "");
|
command_line::add_arg(desc_options, arg_verbose);
|
||||||
command_line::add_arg(desc_options, arg_stats, "");
|
command_line::add_arg(desc_options, arg_stats);
|
||||||
command_line::add_arg(desc_options, arg_loop_multiplier, "");
|
command_line::add_arg(desc_options, arg_loop_multiplier);
|
||||||
|
|
||||||
po::variables_map vm;
|
po::variables_map vm;
|
||||||
bool r = command_line::handle_error_helper(desc_options, [&]()
|
bool r = command_line::handle_error_helper(desc_options, [&]()
|
||||||
|
|
Loading…
Reference in a new issue