mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-12 13:33:04 +00:00
refs: fix unused-but-set warning
This commit is contained in:
parent
821f6bc740
commit
9738e2cd2c
@ -1484,6 +1484,7 @@ int git_reference_foreach(
|
||||
if (list_flags & GIT_REF_PACKED) {
|
||||
const char *ref_name;
|
||||
void *ref;
|
||||
GIT_UNUSED(ref);
|
||||
|
||||
if (packed_load(repo) < 0)
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user