[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>
This commit is contained in:
parent
0f2b4c4654
commit
c742b81397
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user