summaryrefslogtreecommitdiffstats
path: root/Source/cmCommandArgumentParserHelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmCommandArgumentParserHelper.cxx')
-rw-r--r--Source/cmCommandArgumentParserHelper.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/Source/cmCommandArgumentParserHelper.cxx b/Source/cmCommandArgumentParserHelper.cxx
index 14e9e56..15ab746 100644
--- a/Source/cmCommandArgumentParserHelper.cxx
+++ b/Source/cmCommandArgumentParserHelper.cxx
@@ -140,15 +140,8 @@ char* cmCommandArgumentParserHelper::ExpandVariable(const char* var)
this->Makefile->GetHomeOutputDirectory()))
{
std::ostringstream msg;
- cmListFileContext lfc;
- cmOutputConverter converter(this->Makefile->GetStateSnapshot());
- lfc.FilePath = converter.Convert(this->FileName,
- cmOutputConverter::HOME);
-
- lfc.Line = this->FileLine;
msg << "uninitialized variable \'" << var << "\'";
- this->Makefile->GetCMakeInstance()->IssueMessage(cmake::AUTHOR_WARNING,
- msg.str(), lfc);
+ this->Makefile->IssueMessage(cmake::AUTHOR_WARNING, msg.str());
}
}
return 0;