diff options
author | A Large Angry SCM <gitzilla@gmail.com> | 2005-08-01 18:05:57 +0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-08-01 23:47:19 +0400 |
commit | c742b813971a415fea6e623de4d9e45286a0a976 (patch) | |
tree | dfd1afd7922d6fed551676150ab8b4875dc6a1c3 | |
parent | 0f2b4c4654a046bc2ccaeafd3340450edf4aeb7e (diff) |
[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>
-rw-r--r-- | receive-pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/receive-pack.c b/receive-pack.c index 85bf8569f8..314b0d7c6b 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: |