Fix parentheses warning
diff --git a/src/refs.c b/src/refs.c
index eb8af58..1589bc3 100644
--- a/src/refs.c
+++ b/src/refs.c
@@ -1634,13 +1634,14 @@ int git_reference_normalize_name(
}
}
- if (*current == '/')
+ if (*current == '/') {
if (buffer_out > buffer_out_start)
contains_a_slash = 1;
else {
current++;
continue;
}
+ }
*buffer_out++ = *current++;