Commit 0844ed069e3a09fd2438b5704ee1519182634520

Michael Schubert 2012-08-28T20:15:21

Fix parentheses warning

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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++;