Merge pull request #500 from schu/minor-fixups Minor fixups
diff --git a/src/transports/local.c b/src/transports/local.c
index f50a961..6cf0573 100644
--- a/src/transports/local.c
+++ b/src/transports/local.c
@@ -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));