зеркало из https://github.com/microsoft/git.git
diffcore-pickaxe.c: a void function shouldn't try to return something
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
dd15c7fffc
Коммит
8520913cc5
|
@ -281,7 +281,7 @@ void diffcore_pickaxe(struct diff_options *o)
|
|||
{
|
||||
/* Might want to warn when both S and G are on; I don't care... */
|
||||
if (o->pickaxe_opts & DIFF_PICKAXE_KIND_G)
|
||||
return diffcore_pickaxe_grep(o);
|
||||
diffcore_pickaxe_grep(o);
|
||||
else
|
||||
return diffcore_pickaxe_count(o);
|
||||
diffcore_pickaxe_count(o);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче