mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
Merge topic 'fix-function-missing-endforeach'
3a656065 Fix assertion failure on unmatched foreach in function (#15572)
This commit is contained in:
@@ -94,8 +94,8 @@ bool cmFunctionHelperCommand::InvokeInitialPass
|
||||
}
|
||||
|
||||
// we push a scope on the makefile
|
||||
cmMakefile::LexicalPushPop lexScope(this->Makefile);
|
||||
cmMakefile::ScopePushPop varScope(this->Makefile);
|
||||
cmMakefile::LexicalPushPop lexScope(this->Makefile);
|
||||
static_cast<void>(varScope);
|
||||
|
||||
// Push a weak policy scope which restores the policies recorded at
|
||||
|
||||
Reference in New Issue
Block a user