diff options
-rw-r--r-- | Source/cmCommandArgumentParserHelper.cxx | 2 | ||||
-rw-r--r-- | Source/cmake.cxx | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/Source/cmCommandArgumentParserHelper.cxx b/Source/cmCommandArgumentParserHelper.cxx index 3f1ba53..23101b8 100644 --- a/Source/cmCommandArgumentParserHelper.cxx +++ b/Source/cmCommandArgumentParserHelper.cxx @@ -134,7 +134,7 @@ char* cmCommandArgumentParserHelper::ExpandVariable(const char* var) cmSystemTools::IsSubDirectory(this->FileName, this->Makefile->GetHomeDirectory()) || cmSystemTools::IsSubDirectory(this->FileName, - this->Makefile->GetHomeOutputDirectory())) + this->Makefile->GetHomeOutputDirectory())) { cmOStringStream msg; msg << this->FileName << ":" << this->FileLine << ":" << diff --git a/Source/cmake.cxx b/Source/cmake.cxx index cb68f221..07abc8e 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -4499,12 +4499,13 @@ void cmake::RunCheckForUnusedVariables() const if(this->WarnUnusedCli) { std::map<std::string, bool>::const_iterator it; - for(it = this->UsedCliVariables.begin(); it != this->UsedCliVariables.end(); ++it) + for(it = this->UsedCliVariables.begin(); + it != this->UsedCliVariables.end(); ++it) { if(!it->second) { - std::string message = "warning: The variable, '" + it->first + "', given " - "on the command line, was not used within the build."; + std::string message = "warning: The variable, '" + it->first + + "', given on the command line, was not used within the build."; cmSystemTools::Message(message.c_str()); } } |