Commit fc88a8d321541165b52d2cdb27753bab76870321

Vicent Martí 2011-11-29T02:37:39

Merge pull request #500 from schu/minor-fixups Minor fixups

1
2
3
4
5
6
7
8
9
10
11
12
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));