summaryrefslogtreecommitdiffstats
path: root/Source/cmIfCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2009-06-12 15:10:26 (GMT)
committerKen Martin <ken.martin@kitware.com>2009-06-12 15:10:26 (GMT)
commitf50cf4f60d271c8a86de4a693f424b4eac402ab4 (patch)
tree3be9fa0e522f67c0eef7bacc1eb6507c59613105 /Source/cmIfCommand.cxx
parente02d66e89ee6a65397dd4cf61f3b92d28bf0f81a (diff)
downloadCMake-f50cf4f60d271c8a86de4a693f424b4eac402ab4.zip
CMake-f50cf4f60d271c8a86de4a693f424b4eac402ab4.tar.gz
CMake-f50cf4f60d271c8a86de4a693f424b4eac402ab4.tar.bz2
ENH: warning fix
Diffstat (limited to 'Source/cmIfCommand.cxx')
-rw-r--r--Source/cmIfCommand.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmIfCommand.cxx b/Source/cmIfCommand.cxx
index 49e1bdc..b4de8ff 100644
--- a/Source/cmIfCommand.cxx
+++ b/Source/cmIfCommand.cxx
@@ -83,10 +83,10 @@ IsFunctionBlocked(const cmListFileFunction& lff,
mf.ExpandArguments(this->Functions[c].Arguments,
expandedArguments);
- cmake::MessageType status;
+ cmake::MessageType messType;
bool isTrue =
cmIfCommand::IsTrue(expandedArguments, errorString,
- &mf, status);
+ &mf, messType);
if (errorString.size())
{
@@ -102,8 +102,8 @@ IsFunctionBlocked(const cmListFileFunction& lff,
err += "(";
err += errorString;
err += ").";
- mf.IssueMessage(status, err);
- if (status == cmake::FATAL_ERROR)
+ mf.IssueMessage(messType, err);
+ if (messType == cmake::FATAL_ERROR)
{
cmSystemTools::SetFatalErrorOccured();
return true;