diff --git a/benchmarking/BenchmarkFilters.cxx b/benchmarking/BenchmarkFilters.cxx index bf07837eb..23bdf2f65 100644 --- a/benchmarking/BenchmarkFilters.cxx +++ b/benchmarking/BenchmarkFilters.cxx @@ -775,6 +775,10 @@ struct Arg : vtkm::cont::internal::option::Arg bool msg) { if ((option.arg != nullptr) && (option.arg[0] != '\0')) + { + return vtkm::cont::internal::option::ARG_OK; + } + else { if (msg) { @@ -782,10 +786,6 @@ struct Arg : vtkm::cont::internal::option::Arg } return vtkm::cont::internal::option::ARG_ILLEGAL; } - else - { - return vtkm::cont::internal::option::ARG_OK; - } } };