mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-07 20:17:59 +00:00
transports: fix -Wunused-but-set-variable warning
Signed-off-by: schu <schu-github@schulog.org>
This commit is contained in:
parent
798dd36c08
commit
fe9a0e09fe
@ -74,6 +74,7 @@ static int add_ref(transport_local *t, const char *name)
|
||||
ret = p_snprintf(head->name, peel_len + 1, "%s%s", name, peeled);
|
||||
|
||||
assert(ret < peel_len + 1);
|
||||
(void)ret;
|
||||
|
||||
git_oid_cpy(&head->oid, git_tag_target_oid((git_tag *) obj));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user