[PATCH] Fix warning about non-void return in a void function.
authorA Large Angry SCM <gitzilla@gmail.com>
Mon, 1 Aug 2005 14:05:57 +0000 (10:05 -0400)
committerJunio C Hamano <junkio@cox.net>
Mon, 1 Aug 2005 19:47:19 +0000 (12:47 -0700)
Signed-off-by: A Large Angry SCM <gitzilla@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
receive-pack.c

index 85bf856..314b0d7 100644 (file)
@@ -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: