diff options
author | A Large Angry SCM <gitzilla@gmail.com> | 2005-08-01 10:05:57 -0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-08-01 12:47:19 -0700 |
commit | c742b813971a415fea6e623de4d9e45286a0a976 (patch) | |
tree | dfd1afd7922d6fed551676150ab8b4875dc6a1c3 /receive-pack.c | |
parent | 0f2b4c4654a046bc2ccaeafd3340450edf4aeb7e (diff) | |
download | git-c742b813971a415fea6e623de4d9e45286a0a976.tar.gz |
[PATCH] Fix warning about non-void return in a void function.
Signed-off-by: A Large Angry SCM <gitzilla@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'receive-pack.c')
-rw-r--r-- | receive-pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/receive-pack.c b/receive-pack.c index 85bf8569f8..314b0d7c6b 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: |