summaryrefslogtreecommitdiff
path: root/Source/cmForEachCommand.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-12-26 10:30:31 +0100
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-05-09 23:49:14 +0200
commit67a8d907adbc587021e9eba603cb789da09926d8 (patch)
tree564f7cb7813e9f79eb6f9ff5e5fa4db1e9bd62c5 /Source/cmForEachCommand.cxx
parent0c519c70297bd2fd6e139d74c6b175c304c09192 (diff)
downloadcmake-67a8d907adbc587021e9eba603cb789da09926d8.tar.gz
cmExecutionStatus: Remove arguments from setters
The setters are only used to set boolean values. The values are never reset individually.
Diffstat (limited to 'Source/cmForEachCommand.cxx')
-rw-r--r--Source/cmForEachCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmForEachCommand.cxx b/Source/cmForEachCommand.cxx
index 6273f6e9f5..8346b23098 100644
--- a/Source/cmForEachCommand.cxx
+++ b/Source/cmForEachCommand.cxx
@@ -58,7 +58,7 @@ bool cmForEachFunctionBlocker::IsFunctionBlocked(const cmListFileFunction& lff,
status.Clear();
mf.ExecuteCommand(this->Functions[c], status);
if (status.GetReturnInvoked()) {
- inStatus.SetReturnInvoked(true);
+ inStatus.SetReturnInvoked();
// restore the variable to its prior value
mf.AddDefinition(this->Args[0], oldDef.c_str());
return true;