summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmLocalGenerator.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 5a2a6c6..1c6df15 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/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.