diff options
author | schu <schu-github@schulog.org> | 2011-11-29 11:02:42 +0100 |
---|---|---|
committer | schu <schu-github@schulog.org> | 2011-11-29 11:02:42 +0100 |
commit | fe9a0e09fe4320d5f31d8fe0b593f674eedf98b7 (patch) | |
tree | ce02b49341ad3d207db5b31b928b533d0ceaf4f6 | |
parent | 798dd36c080af364a1405f155d6d3b7aceb5952d (diff) | |
download | libgit2-fe9a0e09fe4320d5f31d8fe0b593f674eedf98b7.tar.gz |
transports: fix -Wunused-but-set-variable warning
Signed-off-by: schu <schu-github@schulog.org>
-rw-r--r-- | src/transports/local.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/transports/local.c b/src/transports/local.c index f50a96173..6cf0573e8 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)); |