summaryrefslogtreecommitdiff
path: root/Source/cmEndForEachCommand.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-11-27 20:38:57 +0100
committerBrad King <brad.king@kitware.com>2016-11-29 13:53:29 -0500
commit67303794f0bd36912cd9e7e7d0402c3c6fc85a11 (patch)
treefd7c64727e890eb3e9c57c81c0e8775a297cefa9 /Source/cmEndForEachCommand.cxx
parentd23a0196844f066047aa6942b69c6e591462df38 (diff)
downloadcmake-67303794f0bd36912cd9e7e7d0402c3c6fc85a11.tar.gz
Combine all unexpected commands to a single class
Diffstat (limited to 'Source/cmEndForEachCommand.cxx')
-rw-r--r--Source/cmEndForEachCommand.cxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/Source/cmEndForEachCommand.cxx b/Source/cmEndForEachCommand.cxx
deleted file mode 100644
index 81a37c33b5..0000000000
--- a/Source/cmEndForEachCommand.cxx
+++ /dev/null
@@ -1,14 +0,0 @@
-/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
- file Copyright.txt or https://cmake.org/licensing for details. */
-#include "cmEndForEachCommand.h"
-
-class cmExecutionStatus;
-
-bool cmEndForEachCommand::InitialPass(std::vector<std::string> const&,
- cmExecutionStatus&)
-{
- this->SetError("An ENDFOREACH command was found outside of a proper "
- "FOREACH ENDFOREACH structure. Or its arguments did "
- "not match the opening FOREACH command.");
- return false;
-}