Skip to content

Commit 8520913

Browse files
drafnelgitster
authored andcommitted
diffcore-pickaxe.c: a void function shouldn't try to return something
Signed-off-by: Brandon Casey <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent dd15c7f commit 8520913

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

diffcore-pickaxe.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ void diffcore_pickaxe(struct diff_options *o)
281281
{
282282
/* Might want to warn when both S and G are on; I don't care... */
283283
if (o->pickaxe_opts & DIFF_PICKAXE_KIND_G)
284-
return diffcore_pickaxe_grep(o);
284+
diffcore_pickaxe_grep(o);
285285
else
286-
return diffcore_pickaxe_count(o);
286+
diffcore_pickaxe_count(o);
287287
}

0 commit comments

Comments
 (0)