Browse Source

COMP: fix compiler warning and follow style

Bill Hoffman 17 years ago
parent
commit
1d1d874cf1
1 changed files with 3 additions and 1 deletions
  1. 3 1
      Source/cmLocalGenerator.cxx

+ 3 - 1
Source/cmLocalGenerator.cxx

@@ -2365,7 +2365,9 @@ cmLocalGenerator
 
     // Avoid full paths by removing leading slashes.
     std::string::size_type pos = 0;
-    for(;pos < ssin.size() && ssin[pos] == '/'; ++pos);
+    for(;pos < ssin.size() && ssin[pos] == '/'; ++pos)
+      {
+      }
     ssin = ssin.substr(pos);
 
     // Avoid full paths by removing colons.