diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-08-06 08:05:27 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-08-06 08:05:27 (GMT) |
commit | 5558070d5265c9a8c15efb64787eaadbd3adb60f (patch) | |
tree | be8aa5d867308866191000701782a00082f73d39 /Source/cmForEachCommand.cxx | |
parent | 2327cc0e0575175e8dec4b7a6fa6cafd5d0f7ca9 (diff) | |
download | CMake-5558070d5265c9a8c15efb64787eaadbd3adb60f.zip CMake-5558070d5265c9a8c15efb64787eaadbd3adb60f.tar.gz CMake-5558070d5265c9a8c15efb64787eaadbd3adb60f.tar.bz2 |
cmExecutionStatus: Remove function Clear
Diffstat (limited to 'Source/cmForEachCommand.cxx')
-rw-r--r-- | Source/cmForEachCommand.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmForEachCommand.cxx b/Source/cmForEachCommand.cxx index 1d961be..a565786 100644 --- a/Source/cmForEachCommand.cxx +++ b/Source/cmForEachCommand.cxx @@ -74,9 +74,8 @@ bool cmForEachFunctionBlocker::Replay( // set the variable to the loop value mf.AddDefinition(this->Args[0], arg); // Invoke all the functions that were collected in the block. - cmExecutionStatus status(mf); for (cmListFileFunction const& func : functions) { - status.Clear(); + cmExecutionStatus status(mf); mf.ExecuteCommand(func, status); if (status.GetReturnInvoked()) { inStatus.SetReturnInvoked(); |