projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d235c8
)
Fix gcc warning in send-pack.c
author
Linus Torvalds
<torvalds@g5.osdl.org>
Sun, 3 Jul 2005 17:00:01 +0000
(10:00 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sun, 3 Jul 2005 17:00:01 +0000
(10:00 -0700)
send_pack() was declared to return "int" (although nobody cared), but
didn't actually return anything.
send-pack.c
patch
|
blob
|
history
diff --git
a/send-pack.c
b/send-pack.c
index
93674d8
..
3c6abae
100644
(file)
--- 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)