diff --git a/registry/tools/options.cxx b/registry/tools/options.cxx index 02057091f863..4e918ec1b6e9 100644 --- a/registry/tools/options.cxx +++ b/registry/tools/options.cxx @@ -47,14 +47,16 @@ bool Options::checkArgument(std::vector< std::string> & rArgs, char const * arg, switch (arg[0]) { case '@': - if ((result = (len > 1)) == true) + result = len > 1; + if (result) { // "@" result = Options::checkCommandFile(rArgs, &(arg[1])); } break; case '-': - if ((result = (len > 1)) == true) + result = len > 1; + if (result) { // "-