diff options
Diffstat (limited to 'Source/cmEndWhileCommand.cxx')
-rw-r--r-- | Source/cmEndWhileCommand.cxx | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/Source/cmEndWhileCommand.cxx b/Source/cmEndWhileCommand.cxx index abb9e5e0b3..33507de500 100644 --- a/Source/cmEndWhileCommand.cxx +++ b/Source/cmEndWhileCommand.cxx @@ -11,22 +11,17 @@ ============================================================================*/ #include "cmEndWhileCommand.h" -bool cmEndWhileCommand -::InvokeInitialPass(std::vector<cmListFileArgument> const& args, - cmExecutionStatus &) +bool cmEndWhileCommand::InvokeInitialPass( + std::vector<cmListFileArgument> const& args, cmExecutionStatus&) { - if (args.empty()) - { + if (args.empty()) { this->SetError("An ENDWHILE command was found outside of a proper " "WHILE ENDWHILE structure."); - } - else - { + } else { this->SetError("An ENDWHILE command was found outside of a proper " "WHILE ENDWHILE structure. Or its arguments did not " "match the opening WHILE command."); - } + } return false; } - |