summaryrefslogtreecommitdiff
path: root/receive-pack.c
diff options
context:
space:
mode:
authorA Large Angry SCM <gitzilla@gmail.com>2005-08-01 14:05:57 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-08-01 19:47:19 (GMT)
commitc742b813971a415fea6e623de4d9e45286a0a976 (patch)
treedfd1afd7922d6fed551676150ab8b4875dc6a1c3 /receive-pack.c
parent0f2b4c4654a046bc2ccaeafd3340450edf4aeb7e (diff)
downloadgit-c742b813971a415fea6e623de4d9e45286a0a976.zip
git-c742b813971a415fea6e623de4d9e45286a0a976.tar.gz
git-c742b813971a415fea6e623de4d9e45286a0a976.tar.bz2
[PATCH] Fix warning about non-void return in a void function.
Signed-off-by: A Large Angry SCM <gitzilla@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'receive-pack.c')
-rw-r--r--receive-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/receive-pack.c b/receive-pack.c
index 85bf856..314b0d7 100644
--- 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: