Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
[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
raw
|
patch
| inline |
side by side
(parent:
0f2b4c4
)
diff --git
a/receive-pack.c
b/receive-pack.c
index 85bf8569f8d2b9f5756e8bc5829688ea6bc2420b..314b0d7c6b76662c2ea41a834d2801a457f26446 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: