X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=epoch.c;h=db44f5ca9f73a75cc266d9b45eda0aca56dd1ede;hb=1e80e0449248edb77b0fb9853f4a3404a599e207;hp=01fe8e4da1396bec334b5055fa6c6506c95fa715;hpb=ff9206e72c71aa2e51c7cbee911f47b5838a5845;p=git.git diff --git a/epoch.c b/epoch.c index 01fe8e4d..db44f5ca 100644 --- a/epoch.c +++ b/epoch.c @@ -499,7 +499,7 @@ static int emit_stack(struct commit_list **stack, emitter_func emitter, int incl if (*stack || include_last) { if (!*stack) next->object.flags |= BOUNDARY; - action = (*emitter) (next); + action = emitter(next); } } @@ -545,7 +545,7 @@ static int sort_in_merge_order(struct commit *head_of_epoch, emitter_func emitte if (next->object.flags & UNINTERESTING) { action = STOP; } else { - action = (*emitter) (next); + action = emitter(next); } if (action != STOP) { next = next->parents->item; @@ -562,7 +562,7 @@ static int sort_in_merge_order(struct commit *head_of_epoch, emitter_func emitte } if (next && (action != STOP) && !ret) { - (*emitter) (next); + emitter(next); } return ret;