summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2022-11-29 13:26:44 +0100
committerJunio C Hamano <gitster@pobox.com>2022-11-30 10:00:35 +0900
commitd4f7036887f54184d666a1096ee96dfb2e9ad881 (patch)
tree8e849ad6bb095019b6e06449b97cd6a42bb11a6a /commit.c
parent0d5448a554723acfb0d8bbb131e0583504dc7230 (diff)
list-objects-filter: remove OPT_PARSE_LIST_OBJECTS_FILTER_INIT()
OPT_PARSE_LIST_OBJECTS_FILTER_INIT() with a non-NULL second argument passes a function pointer via an object pointer, which is undefined. It may work fine on platforms that implement C99 extension J.5.7 (Function pointer casts). Remove the unused macro and avoid the dependency on that extension. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions