From 1d1d874cf1fc1702699dc7185c0381c086390203 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 22 Jul 2008 13:32:43 -0400 Subject: [PATCH] COMP: fix compiler warning and follow style --- Source/cmLocalGenerator.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 5a2a6c65c..1c6df1529 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.