mirror of
https://github.com/git/git
synced 2024-08-28 03:59:25 +00:00
Fix gcc warning in send-pack.c
send_pack() was declared to return "int" (although nobody cared), but didn't actually return anything.
This commit is contained in:
parent
4d235c8044
commit
7ec4e60819
|
@ -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 don't wait for the rev-list pipeline in the parent:
|
||||||
* we end up waiting for the other end instead
|
* we end up waiting for the other end instead
|
||||||
*/
|
*/
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int read_ref(const char *ref, unsigned char *sha1)
|
static int read_ref(const char *ref, unsigned char *sha1)
|
||||||
|
|
Loading…
Reference in a new issue