From: A Large Angry SCM Date: Mon, 1 Aug 2005 14:05:57 +0000 (-0400) Subject: [PATCH] Fix warning about non-void return in a void function. X-Git-Tag: v0.99.3~7 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=c742b813971a415fea6e623de4d9e45286a0a976;p=git.git [PATCH] Fix warning about non-void return in a void function. Signed-off-by: A Large Angry SCM Signed-off-by: Junio C Hamano --- diff --git a/receive-pack.c b/receive-pack.c index 85bf8569..314b0d7c 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: