summaryrefslogtreecommitdiffstats
path: root/Source/cmFunctionCommand.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/cmFunctionCommand.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/cmFunctionCommand.cxx')
-rw-r--r--Source/cmFunctionCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFunctionCommand.cxx b/Source/cmFunctionCommand.cxx
index 4285d26..dccc29f 100644
--- a/Source/cmFunctionCommand.cxx
+++ b/Source/cmFunctionCommand.cxx
@@ -121,7 +121,7 @@ bool cmFunctionHelperCommand::InvokeInitialPass(
// The error message should have already included the call stack
// so we do not need to report an error here.
functionScope.Quiet();
- inStatus.SetNestedError(true);
+ inStatus.SetNestedError();
return false;
}
if (status.GetReturnInvoked()) {