summaryrefslogtreecommitdiffstats
path: root/Source/cmFunctionCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmFunctionCommand.cxx')
-rw-r--r--Source/cmFunctionCommand.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/Source/cmFunctionCommand.cxx b/Source/cmFunctionCommand.cxx
index f36eb74..c1ca8aa 100644
--- a/Source/cmFunctionCommand.cxx
+++ b/Source/cmFunctionCommand.cxx
@@ -258,17 +258,6 @@ ShouldRemove(const cmListFileFunction& lff, cmMakefile &mf)
return false;
}
-void cmFunctionFunctionBlocker::
-ScopeEnded(cmMakefile &mf)
-{
- // functions should end with an EndFunction
- cmSystemTools::Error(
- "The end of a CMakeLists file was reached with a FUNCTION statement that "
- "was not closed properly. Within the directory: ",
- mf.GetCurrentDirectory(), " with function ",
- this->Args[0].c_str());
-}
-
bool cmFunctionCommand
::InitialPass(std::vector<std::string> const& args, cmExecutionStatus &)
{