summaryrefslogtreecommitdiffstats
path: root/Source/cmIfCommand.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-12-26 09:30:31 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-05-09 21:49:14 (GMT)
commit67a8d907adbc587021e9eba603cb789da09926d8 (patch)
tree564f7cb7813e9f79eb6f9ff5e5fa4db1e9bd62c5 /Source/cmIfCommand.cxx
parent0c519c70297bd2fd6e139d74c6b175c304c09192 (diff)
downloadCMake-67a8d907adbc587021e9eba603cb789da09926d8.zip
CMake-67a8d907adbc587021e9eba603cb789da09926d8.tar.gz
CMake-67a8d907adbc587021e9eba603cb789da09926d8.tar.bz2
cmExecutionStatus: Remove arguments from setters
The setters are only used to set boolean values. The values are never reset individually.
Diffstat (limited to 'Source/cmIfCommand.cxx')
-rw-r--r--Source/cmIfCommand.cxx6
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;
}
}