Browse Source

[1960] Added missing "return" to CommandOptionsTest::process()

Stephen Morris 12 years ago
parent
commit
d82d52518a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/tools/perfdhcp/tests/command_options_unittest.cc

+ 1 - 1
tests/tools/perfdhcp/tests/command_options_unittest.cc

@@ -49,7 +49,7 @@ protected:
     /// \throws std::bad allocation if tokenization failed.
     /// \throws std::bad allocation if tokenization failed.
     /// \return true if program has been run in help or version mode ('h' or 'v' flag).
     /// \return true if program has been run in help or version mode ('h' or 'v' flag).
     bool process(const std::string& cmdline) {
     bool process(const std::string& cmdline) {
-        CommandOptionsHelper::process(cmdline);
+        return (CommandOptionsHelper::process(cmdline));
     }
     }
 
 
     /// \brief Check default initialized values
     /// \brief Check default initialized values