Skip to content

Commit 7ec4e60

Browse files
author
Linus Torvalds
committed
Fix gcc warning in send-pack.c
send_pack() was declared to return "int" (although nobody cared), but didn't actually return anything.
1 parent 4d235c8 commit 7ec4e60

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

send-pack.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ static int pack_objects(int fd, struct ref *refs)
108108
* We don't wait for the rev-list pipeline in the parent:
109109
* we end up waiting for the other end instead
110110
*/
111+
return 0;
111112
}
112113

113114
static int read_ref(const char *ref, unsigned char *sha1)

0 commit comments

Comments
 (0)