summaryrefslogtreecommitdiffstats
path: root/Source/cmWhileCommand.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/cmWhileCommand.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/cmWhileCommand.cxx')
-rw-r--r--Source/cmWhileCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmWhileCommand.cxx b/Source/cmWhileCommand.cxx
index 38ea637..24d7bf1 100644
--- a/Source/cmWhileCommand.cxx
+++ b/Source/cmWhileCommand.cxx
@@ -82,7 +82,7 @@ bool cmWhileFunctionBlocker::IsFunctionBlocked(const cmListFileFunction& lff,
cmExecutionStatus status;
mf.ExecuteCommand(this->Functions[c], status);
if (status.GetReturnInvoked()) {
- inStatus.SetReturnInvoked(true);
+ inStatus.SetReturnInvoked();
return true;
}
if (status.GetBreakInvoked()) {