diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-03 10:00:01 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-03 10:00:01 -0700 |
commit | 7ec4e60819764128351d526a77859a403c0d4ff4 (patch) | |
tree | 14dd6f61be4a7f272f068ebfd8e378f73648d53a /send-pack.c | |
parent | 4d235c8044a638108b67e22f94b2876657130fc8 (diff) | |
download | git-7ec4e60819764128351d526a77859a403c0d4ff4.tar.gz git-7ec4e60819764128351d526a77859a403c0d4ff4.tar.xz |
Fix gcc warning in send-pack.c
send_pack() was declared to return "int" (although nobody cared), but
didn't actually return anything.
Diffstat (limited to 'send-pack.c')
-rw-r--r-- | send-pack.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/send-pack.c b/send-pack.c index 93674d8e4..3c6abaede 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) |