summaryrefslogtreecommitdiffstats
path: root/Source/cmWhileCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmWhileCommand.cxx')
-rw-r--r--Source/cmWhileCommand.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/Source/cmWhileCommand.cxx b/Source/cmWhileCommand.cxx
index 61d5d85..b6d8e36 100644
--- a/Source/cmWhileCommand.cxx
+++ b/Source/cmWhileCommand.cxx
@@ -97,15 +97,6 @@ ShouldRemove(const cmListFileFunction& lff, cmMakefile& )
return false;
}
-void cmWhileFunctionBlocker::
-ScopeEnded(cmMakefile &mf)
-{
- cmSystemTools::Error(
- "The end of a CMakeLists file was reached with a WHILE statement that "
- "was not closed properly. Within the directory: ",
- mf.GetCurrentDirectory());
-}
-
bool cmWhileCommand
::InvokeInitialPass(const std::vector<cmListFileArgument>& args,
cmExecutionStatus &)