COMP: fix compiler warning and follow style
This commit is contained in:
parent
a57fc5585a
commit
1d1d874cf1
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue