Skip to content

Commit

Permalink
diffcore-pickaxe.c: a void function shouldn't try to return something
Browse files Browse the repository at this point in the history
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Brandon Casey authored and Junio C Hamano committed Oct 6, 2010
1 parent dd15c7f commit 8520913
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions diffcore-pickaxe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 8520913

Please sign in to comment.