summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-01-25 16:17:46 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-01-25 16:17:46 (GMT)
commit30620e74770e52ff4b2b03850d3ed3f0e21921a3 (patch)
tree70e3a7c13d2d7f3c816c4be2eeb12fff8801d220 /Source
parentf47fea95d7e07cfa634210337036a03dae3539c9 (diff)
parent54fd9e38bb912b94cf32fecac5028d462f4e659f (diff)
downloadCMake-30620e74770e52ff4b2b03850d3ed3f0e21921a3.zip
CMake-30620e74770e52ff4b2b03850d3ed3f0e21921a3.tar.gz
CMake-30620e74770e52ff4b2b03850d3ed3f0e21921a3.tar.bz2
Merge topic 'uninitialized-var-in-if'
54fd9e3 fix uninitialized var in if(NOT foo bar STREQUAL "foo bar")
Diffstat (limited to 'Source')
-rw-r--r--Source/cmIfCommand.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmIfCommand.cxx b/Source/cmIfCommand.cxx
index 22ba28f..4eed477 100644
--- a/Source/cmIfCommand.cxx
+++ b/Source/cmIfCommand.cxx
@@ -910,6 +910,7 @@ bool cmIfCommand::IsTrue(const std::vector<std::string> &args,
if (newArgs.size() != 1)
{
errorString = "Unknown arguments specified";
+ status = cmake::FATAL_ERROR;
return false;
}