diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2010-08-24 18:38:06 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2010-09-01 17:08:14 (GMT) |
commit | f332e14ff2035e33bced0915373296a1f4cf0876 (patch) | |
tree | 64cc879c5b76a709d714c8bfe697de5ff0f9ecd1 /Source/cmCommandArgumentParserHelper.cxx | |
parent | 52f9637174242752721dfb322908adb40c8244c2 (diff) | |
download | CMake-f332e14ff2035e33bced0915373296a1f4cf0876.zip CMake-f332e14ff2035e33bced0915373296a1f4cf0876.tar.gz CMake-f332e14ff2035e33bced0915373296a1f4cf0876.tar.bz2 |
Complete strict-mode checks for uninitialized vars
Diffstat (limited to 'Source/cmCommandArgumentParserHelper.cxx')
-rw-r--r-- | Source/cmCommandArgumentParserHelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCommandArgumentParserHelper.cxx b/Source/cmCommandArgumentParserHelper.cxx index 410058f..d955ff7 100644 --- a/Source/cmCommandArgumentParserHelper.cxx +++ b/Source/cmCommandArgumentParserHelper.cxx @@ -127,7 +127,7 @@ char* cmCommandArgumentParserHelper::ExpandVariable(const char* var) // check to see if we need to print a warning // if strict mode is on and the variable has // not been "cleared"/initialized with a set(foo ) call - if(this->StrictMode && !this->Makefile->VariableCleared(var)) + if(this->StrictMode && !this->Makefile->VariableInitialized(var)) { cmOStringStream msg; msg << this->FileName << ":" << this->FileLine << ":" << |