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

Signed-off-by: A Large Angry SCM <[EMAIL PROTECTED]>
---

 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:
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to