Commit 0844ed06 by Michael Schubert

Fix parentheses warning

parent 0d5dce26
...@@ -1634,13 +1634,14 @@ int git_reference_normalize_name( ...@@ -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++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment