Subject: [PATCH] Fix warning about non-void return in a void function.

From: A Large Angry SCM <[email-masked]>
Date: Mon, 01 Aug 2005 10:05:57 -0400

[PATCH] Fix warning about non-void return in a void function.

Signed-off-by: A Large Angry SCM <[email-masked]>
---

 receive-pack.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

8eda2e60f24221255b77e48f4dd60e2b025839ed
diff --git a/receive-pack.c b/receive-pack.c
--- 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: