From cd8e26f14c2f94898a90714b2556d361a4d81ac8 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 2 Oct 2002 17:23:26 -0400 Subject: [PATCH] BUG: Must return false after an error of incorrect arguments. --- Source/cmIncludeCommand.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/cmIncludeCommand.cxx b/Source/cmIncludeCommand.cxx index ce8ce855d..e24f3808f 100644 --- a/Source/cmIncludeCommand.cxx +++ b/Source/cmIncludeCommand.cxx @@ -24,6 +24,7 @@ bool cmIncludeCommand::InitialPass(std::vector const& args) { this->SetError("called with wrong number of arguments. " "Include only takes one file."); + return false; } bool optional = false; if(args.size() == 2)