diff options
author | Michael Schubert <schu@schu.io> | 2012-08-28 20:15:21 +0200 |
---|---|---|
committer | Michael Schubert <schu@schu.io> | 2012-08-28 20:22:44 +0200 |
commit | 0844ed069e3a09fd2438b5704ee1519182634520 (patch) | |
tree | 3a55df9dfa34c4413ddcf51d082646a2def7ecd5 | |
parent | 0d5dce268d47c4ecfb3f8cdda3379cd606630105 (diff) | |
download | libgit2-0844ed069e3a09fd2438b5704ee1519182634520.tar.gz |
Fix parentheses warning
-rw-r--r-- | src/refs.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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++; |