Skip to content

Commit

Permalink
Fix gcc warning in send-pack.c
Browse files Browse the repository at this point in the history
send_pack() was declared to return "int" (although nobody cared), but
didn't actually return anything.
  • Loading branch information
Linus Torvalds committed Jul 3, 2005
1 parent 4d235c8 commit 7ec4e60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions send-pack.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7ec4e60

Please sign in to comment.