mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-13 13:23:02 +00:00
Fix parentheses warning
This commit is contained in:
parent
0d5dce268d
commit
0844ed069e
@ -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++;
|
||||
|
Loading…
Reference in New Issue
Block a user