mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-14 11:13:52 +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)
|
if (buffer_out > buffer_out_start)
|
||||||
contains_a_slash = 1;
|
contains_a_slash = 1;
|
||||||
else {
|
else {
|
||||||
current++;
|
current++;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
*buffer_out++ = *current++;
|
*buffer_out++ = *current++;
|
||||||
|
Loading…
Reference in New Issue
Block a user