From 7ec4e60819764128351d526a77859a403c0d4ff4 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sun, 3 Jul 2005 10:00:01 -0700 Subject: Fix gcc warning in send-pack.c send_pack() was declared to return "int" (although nobody cared), but didn't actually return anything. --- send-pack.c | 1 + 1 file changed, 1 insertion(+) (limited to 'send-pack.c') diff --git a/send-pack.c b/send-pack.c index 93674d8e4f..3c6abaede7 100644 --- a/send-pack.c +++ b/send-pack.c @@ -108,6 +108,7 @@ static int pack_objects(int fd, struct ref *refs) * We don't wait for the rev-list pipeline in the parent: * we end up waiting for the other end instead */ + return 0; } static int read_ref(const char *ref, unsigned char *sha1) -- cgit v1.2.3