summaryrefslogtreecommitdiffstats
path: root/Source/cmIncludeCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-10-02 21:23:26 (GMT)
committerBrad King <brad.king@kitware.com>2002-10-02 21:23:26 (GMT)
commitcd8e26f14c2f94898a90714b2556d361a4d81ac8 (patch)
tree40f8f1800f69c4dfe9ef8352f6f6a7f769f45342 /Source/cmIncludeCommand.cxx
parent6c2944b6fe8ae264bcb107cb11512ed36d90a586 (diff)
downloadCMake-cd8e26f14c2f94898a90714b2556d361a4d81ac8.zip
CMake-cd8e26f14c2f94898a90714b2556d361a4d81ac8.tar.gz
CMake-cd8e26f14c2f94898a90714b2556d361a4d81ac8.tar.bz2
BUG: Must return false after an error of incorrect arguments.
Diffstat (limited to 'Source/cmIncludeCommand.cxx')
-rw-r--r--Source/cmIncludeCommand.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmIncludeCommand.cxx b/Source/cmIncludeCommand.cxx
index ce8ce85..e24f380 100644
--- a/Source/cmIncludeCommand.cxx
+++ b/Source/cmIncludeCommand.cxx
@@ -24,6 +24,7 @@ bool cmIncludeCommand::InitialPass(std::vector<std::string> const& args)
{
this->SetError("called with wrong number of arguments. "
"Include only takes one file.");
+ return false;
}
bool optional = false;
if(args.size() == 2)