From 0844ed069e3a09fd2438b5704ee1519182634520 Mon Sep 17 00:00:00 2001 From: Michael Schubert Date: Tue, 28 Aug 2012 20:15:21 +0200 Subject: [PATCH] Fix parentheses warning --- src/refs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/refs.c b/src/refs.c index eb8af5863..1589bc37d 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++;