Ver código fonte

Fix long lines for KWStyle

Ben Boeckel 15 anos atrás
pai
commit
fe56002a16
2 arquivos alterados com 5 adições e 4 exclusões
  1. 1 1
      Source/cmCommandArgumentParserHelper.cxx
  2. 4 3
      Source/cmake.cxx

+ 1 - 1
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 << ":" <<

+ 4 - 3
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());
           }
         }