summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-07-22 17:32:43 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-07-22 17:32:43 (GMT)
commit1d1d874cf1fc1702699dc7185c0381c086390203 (patch)
tree7502ce02e0d91c3489b1fb0854cf8046a235241a /Source/cmLocalGenerator.cxx
parenta57fc5585a30197b281e5b3fe851787ba4677267 (diff)
downloadCMake-1d1d874cf1fc1702699dc7185c0381c086390203.zip
CMake-1d1d874cf1fc1702699dc7185c0381c086390203.tar.gz
CMake-1d1d874cf1fc1702699dc7185c0381c086390203.tar.bz2
COMP: fix compiler warning and follow style
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-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.