Commit 9738e2cd by Michael Schubert

refs: fix unused-but-set warning

parent 821f6bc7
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment