Parcourir la source

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

Stephen Morris il y a 12 ans
Parent
commit
d82d52518a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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.
     /// \return true if program has been run in help or version mode ('h' or 'v' flag).
     bool process(const std::string& cmdline) {
-        CommandOptionsHelper::process(cmdline);
+        return (CommandOptionsHelper::process(cmdline));
     }
 
     /// \brief Check default initialized values