diff options
Diffstat (limited to 'Source/cmExecuteProcessCommand.cxx')
-rw-r--r-- | Source/cmExecuteProcessCommand.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmExecuteProcessCommand.cxx b/Source/cmExecuteProcessCommand.cxx index 81d8a1f..ab7e0cc 100644 --- a/Source/cmExecuteProcessCommand.cxx +++ b/Source/cmExecuteProcessCommand.cxx @@ -159,10 +159,9 @@ bool cmExecuteProcessCommand::InitialPass(std::vector<std::string> const& args, if (cmds[i].empty()) { this->SetError(" given COMMAND argument with no value."); return false; - } else { - // Add the null terminating pointer to the command argument list. - cmds[i].push_back(CM_NULLPTR); } + // Add the null terminating pointer to the command argument list. + cmds[i].push_back(CM_NULLPTR); } // Parse the timeout string. |