From: Brandon Casey Date: Mon, 4 Oct 2010 22:51:48 +0000 (-0500) Subject: diffcore-pickaxe.c: a void function shouldn't try to return something X-Git-Tag: v1.7.4-rc0~184 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/8520913cc53e03dcc4b4395cdf500ab8e60ed792?ds=inline;hp=--cc diffcore-pickaxe.c: a void function shouldn't try to return something Signed-off-by: Brandon Casey Signed-off-by: Junio C Hamano --- 8520913cc53e03dcc4b4395cdf500ab8e60ed792 diff --git a/diffcore-pickaxe.c b/diffcore-pickaxe.c index 38570999c3..ea03b9107e 100644 --- a/diffcore-pickaxe.c +++ b/diffcore-pickaxe.c @@ -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); }