diff options
author | René Scharfe <l.s.r@web.de> | 2022-11-12 11:46:36 +0100 |
---|---|---|
committer | Taylor Blau <me@ttaylorr.com> | 2022-11-12 23:58:15 -0500 |
commit | 2bc9c47b571f9ef7c0743283bb86c33d99a14c14 (patch) | |
tree | e0772c18e033fae86badd44046eea126ce86395d /notes-utils.c | |
parent | 4182e921cbb12f98aee73393c98b754417e4d91c (diff) | |
download | git-2bc9c47b571f9ef7c0743283bb86c33d99a14c14.tar.gz |
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: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'notes-utils.c')
0 files changed, 0 insertions, 0 deletions