diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-12-26 10:30:31 +0100 |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-05-09 23:49:14 +0200 |
commit | 67a8d907adbc587021e9eba603cb789da09926d8 (patch) | |
tree | 564f7cb7813e9f79eb6f9ff5e5fa4db1e9bd62c5 /Source/cmWhileCommand.cxx | |
parent | 0c519c70297bd2fd6e139d74c6b175c304c09192 (diff) | |
download | cmake-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/cmWhileCommand.cxx')
-rw-r--r-- | Source/cmWhileCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmWhileCommand.cxx b/Source/cmWhileCommand.cxx index 38ea637e2d..24d7bf1bfc 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()) { |