Fix long lines for KWStyle

This commit is contained in:
Ben Boeckel 2010-09-23 10:14:37 -04:00
parent 5d30cfc5f7
commit fe56002a16
2 changed files with 5 additions and 4 deletions

View File

@ -134,7 +134,7 @@ char* cmCommandArgumentParserHelper::ExpandVariable(const char* var)
cmSystemTools::IsSubDirectory(this->FileName, cmSystemTools::IsSubDirectory(this->FileName,
this->Makefile->GetHomeDirectory()) || this->Makefile->GetHomeDirectory()) ||
cmSystemTools::IsSubDirectory(this->FileName, cmSystemTools::IsSubDirectory(this->FileName,
this->Makefile->GetHomeOutputDirectory())) this->Makefile->GetHomeOutputDirectory()))
{ {
cmOStringStream msg; cmOStringStream msg;
msg << this->FileName << ":" << this->FileLine << ":" << msg << this->FileName << ":" << this->FileLine << ":" <<

View File

@ -4499,12 +4499,13 @@ void cmake::RunCheckForUnusedVariables() const
if(this->WarnUnusedCli) if(this->WarnUnusedCli)
{ {
std::map<std::string, bool>::const_iterator it; 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) if(!it->second)
{ {
std::string message = "warning: The variable, '" + it->first + "', given " std::string message = "warning: The variable, '" + it->first +
"on the command line, was not used within the build."; "', given on the command line, was not used within the build.";
cmSystemTools::Message(message.c_str()); cmSystemTools::Message(message.c_str());
} }
} }