Commit fe9a0e09 by schu

transports: fix -Wunused-but-set-variable warning

Signed-off-by: schu <schu-github@schulog.org>
parent 798dd36c
......@@ -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));
......
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