{"thread":{"id":"1150","subject":"[PATCH] Tidy up - remove use of (*f)() idiom from epoch.c","startedAt":"2005-07-07T01:26:43Z","lastAt":"2005-07-07T01:26:43Z","messageCount":1,"participants":["Jon Seymour"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"5745","messageId":"20050707012643.17103.qmail@blackcubes.dyndns.org","threadId":"1150","inReplyTo":null,"subject":"[PATCH] Tidy up - remove use of (*f)() idiom from epoch.c","fromName":"Jon Seymour","fromEmail":"jon.seymour@gmail.com","sentAt":"2005-07-07T01:26:43Z","receivedAt":"2005-07-07T01:26:43Z","isPatch":true,"sender":{"key":"jon.seymour@gmail.com","avatar":"https://avatars.githubusercontent.com/u/207131?v=4"},"body":"\nReplace (*f)() with f() where the former idiom was used in epoch.c\n\nSigned-off-by: Jon Seymour <jon.seymour@gmail.com>\n---\n\n epoch.c |    6 +++---\n 1 files changed, 3 insertions(+), 3 deletions(-)\n\nce760b162be7463a5648d086bfd7ac324ba66edd\ndiff --git a/epoch.c b/epoch.c\n--- a/epoch.c\n+++ b/epoch.c\n@@ -499,7 +499,7 @@ static int emit_stack(struct commit_list\n \t\tif (*stack || include_last) {\n \t\t\tif (!*stack) \n \t\t\t\tnext->object.flags |= BOUNDARY;\n-\t\t\taction = (*emitter) (next);\n+\t\t\taction = emitter(next);\n \t\t}\n \t}\n \n@@ -545,7 +545,7 @@ static int sort_in_merge_order(struct co\n \t\t\t\tif (next->object.flags & UNINTERESTING) {\n \t\t\t\t\taction = STOP;\n \t\t\t\t} else {\n-\t\t\t\t\taction = (*emitter) (next);\n+\t\t\t\t\taction = emitter(next);\n \t\t\t\t}\n \t\t\t\tif (action != STOP) {\n \t\t\t\t\tnext = next->parents->item;\n@@ -562,7 +562,7 @@ static int sort_in_merge_order(struct co\n \t}\n \n \tif (next && (action != STOP) && !ret) {\n-\t\t(*emitter) (next);\n+\t\temitter(next);\n \t}\n \n \treturn ret;\n------------\n"}]}