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>
Brandon Casey committed
Oct 4, 2010 at 17:51 UTC
8520913cc53e03dcc4b4395cdf500ab8e60ed792
1 file changed
+2
-2
diffcore-pickaxe.c
+2
-2
@@ -281,7 +281,7 @@ void diffcore_pickaxe(struct diff_options *o)
281
{
282
/* Might want to warn when both S and G are on; I don't care... */
283
if (o->pickaxe_opts & DIFF_PICKAXE_KIND_G)
284
- return diffcore_pickaxe_grep(o);
284
+ diffcore_pickaxe_grep(o);
285
else
286
- return diffcore_pickaxe_count(o);
286
+ diffcore_pickaxe_count(o);
287
}