Commit 8520913c authored by Brandon Casey's avatar Brandon Casey Committed by Junio C Hamano

diffcore-pickaxe.c: a void function shouldn't try to return something

Signed-off-by: default avatarBrandon Casey <[email protected]>
Signed-off-by: default avatarJunio C Hamano <[email protected]>
parent dd15c7ff
......@@ -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);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment