diff options
author | Brad King <brad.king@kitware.com> | 2002-10-02 21:23:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2002-10-02 21:23:26 (GMT) |
commit | cd8e26f14c2f94898a90714b2556d361a4d81ac8 (patch) | |
tree | 40f8f1800f69c4dfe9ef8352f6f6a7f769f45342 /Source | |
parent | 6c2944b6fe8ae264bcb107cb11512ed36d90a586 (diff) | |
download | CMake-cd8e26f14c2f94898a90714b2556d361a4d81ac8.zip CMake-cd8e26f14c2f94898a90714b2556d361a4d81ac8.tar.gz CMake-cd8e26f14c2f94898a90714b2556d361a4d81ac8.tar.bz2 |
BUG: Must return false after an error of incorrect arguments.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmIncludeCommand.cxx | 1 |
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) |