COMP: fix compiler warning and follow style

This commit is contained in:
Bill Hoffman 2008-07-22 13:32:43 -04:00
parent a57fc5585a
commit 1d1d874cf1
1 changed files with 3 additions and 1 deletions

View File

@ -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.