Fix parentheses warning

This commit is contained in:
Michael Schubert 2012-08-28 20:15:21 +02:00
parent 0d5dce268d
commit 0844ed069e

View File

@ -1634,13 +1634,14 @@ int git_reference_normalize_name(
} }
} }
if (*current == '/') if (*current == '/') {
if (buffer_out > buffer_out_start) if (buffer_out > buffer_out_start)
contains_a_slash = 1; contains_a_slash = 1;
else { else {
current++; current++;
continue; continue;
} }
}
*buffer_out++ = *current++; *buffer_out++ = *current++;