projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f2b4c4
)
[PATCH] Fix warning about non-void return in a void function.
author
A Large Angry SCM
<gitzilla@gmail.com>
Mon, 1 Aug 2005 14:05:57 +0000
(10:05 -0400)
committer
Junio C Hamano
<junkio@cox.net>
Mon, 1 Aug 2005 19:47:19 +0000
(12:47 -0700)
Signed-off-by: A Large Angry SCM <gitzilla@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
receive-pack.c
patch
|
blob
|
history
diff --git
a/receive-pack.c
b/receive-pack.c
index
85bf856
..
314b0d7
100644
(file)
--- a/
receive-pack.c
+++ b/
receive-pack.c
@@
-186,7
+186,7
@@
static void unpack(void)
int code = run_command(unpacker, NULL);
switch (code) {
case 0:
- return
0
;
+ return;
case -ERR_RUN_COMMAND_FORK:
die("unpack fork failed");
case -ERR_RUN_COMMAND_EXEC: