From fe56002a167df5d5c28de9e5a5c0b4bb1660fccf Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 23 Sep 2010 10:14:37 -0400 Subject: Fix long lines for KWStyle --- Source/cmCommandArgumentParserHelper.cxx | 2 +- 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::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()); } } -- cgit v0.12