summaryrefslogtreecommitdiffstats
path: root/Source/cmMacroCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-05-11 13:54:13 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-05-11 13:54:19 (GMT)
commit99b1ff714b45d34ad84a5d897b4fce30a9ec3041 (patch)
treed98327720ab5a75f7f620ddefe4790ba35e8d80b /Source/cmMacroCommand.cxx
parentf1b9fe5fc4af1bab7d551c48600ca3ebb717db8f (diff)
parentfdd341ebfdf1da3e53332303eb93d5db1feaed6d (diff)
downloadCMake-99b1ff714b45d34ad84a5d897b4fce30a9ec3041.zip
CMake-99b1ff714b45d34ad84a5d897b4fce30a9ec3041.tar.gz
CMake-99b1ff714b45d34ad84a5d897b4fce30a9ec3041.tar.bz2
Merge topic 'dead-code-removal'
fdd341eb cmFindCommon: remove unused function SetMakefile 67a8d907 cmExecutionStatus: Remove arguments from setters 0c519c70 bootstrap: Remove leftovers from cmBootstrapCommands Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !821
Diffstat (limited to 'Source/cmMacroCommand.cxx')
-rw-r--r--Source/cmMacroCommand.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmMacroCommand.cxx b/Source/cmMacroCommand.cxx
index 22977f9..507b579 100644
--- a/Source/cmMacroCommand.cxx
+++ b/Source/cmMacroCommand.cxx
@@ -151,15 +151,15 @@ bool cmMacroHelperCommand::InvokeInitialPass(
// The error message should have already included the call stack
// so we do not need to report an error here.
macroScope.Quiet();
- inStatus.SetNestedError(true);
+ inStatus.SetNestedError();
return false;
}
if (status.GetReturnInvoked()) {
- inStatus.SetReturnInvoked(true);
+ inStatus.SetReturnInvoked();
return true;
}
if (status.GetBreakInvoked()) {
- inStatus.SetBreakInvoked(true);
+ inStatus.SetBreakInvoked();
return true;
}
}