Fix long lines for KWStyle
This commit is contained in:
parent
5d30cfc5f7
commit
fe56002a16
|
@ -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 << ":" <<
|
||||||
|
|
|
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue