From c742b813971a415fea6e623de4d9e45286a0a976 Mon Sep 17 00:00:00 2001 From: A Large Angry SCM Date: Mon, 1 Aug 2005 10:05:57 -0400 Subject: [PATCH] [PATCH] Fix warning about non-void return in a void function. Signed-off-by: A Large Angry SCM Signed-off-by: Junio C Hamano --- receive-pack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/receive-pack.c b/receive-pack.c index 85bf8569f..314b0d7c6 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: -- 2.30.2