diff options
author | Brad King <brad.king@kitware.com> | 2017-05-11 13:54:13 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-05-11 13:54:19 (GMT) |
commit | 99b1ff714b45d34ad84a5d897b4fce30a9ec3041 (patch) | |
tree | d98327720ab5a75f7f620ddefe4790ba35e8d80b /Source/cmIfCommand.cxx | |
parent | f1b9fe5fc4af1bab7d551c48600ca3ebb717db8f (diff) | |
parent | fdd341ebfdf1da3e53332303eb93d5db1feaed6d (diff) | |
download | CMake-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/cmIfCommand.cxx')
-rw-r--r-- | Source/cmIfCommand.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmIfCommand.cxx b/Source/cmIfCommand.cxx index 421c3dd..0972664 100644 --- a/Source/cmIfCommand.cxx +++ b/Source/cmIfCommand.cxx @@ -137,15 +137,15 @@ bool cmIfFunctionBlocker::IsFunctionBlocked(const cmListFileFunction& lff, status.Clear(); mf.ExecuteCommand(this->Functions[c], status); if (status.GetReturnInvoked()) { - inStatus.SetReturnInvoked(true); + inStatus.SetReturnInvoked(); return true; } if (status.GetBreakInvoked()) { - inStatus.SetBreakInvoked(true); + inStatus.SetBreakInvoked(); return true; } if (status.GetContinueInvoked()) { - inStatus.SetContinueInvoked(true); + inStatus.SetContinueInvoked(); return true; } } |