wildmatch: remove unused wildopts parameter
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 22 Jun 2017 21:38:08 +0000 (21:38 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sat, 24 Jun 2017 01:27:07 +0000 (18:27 -0700)
commit55d3426929d4d8c3dec402cabe6fb1bf27d6abad
tree1b037524961e2fc22f891e0e2c2a5dde72f8c0df
parent5402b1352f5181247405fbff1887008a0cb3b04a
wildmatch: remove unused wildopts parameter

Remove the unused wildopts placeholder struct from being passed to all
wildmatch() invocations, or rather remove all the boilerplate NULL
parameters.

This parameter was added back in commit 9b3497cab9 ("wildmatch: rename
constants and update prototype", 2013-01-01) as a placeholder for
future use. Over 4 years later nothing has made use of it, let's just
remove it. It can be added in the future if we find some reason to
start using such a parameter.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
16 files changed:
apply.c
builtin/describe.c
builtin/ls-remote.c
builtin/name-rev.c
builtin/reflog.c
builtin/replace.c
builtin/show-branch.c
config.c
diffcore-order.c
dir.c
ref-filter.c
refs.c
revision.c
t/helper/test-wildmatch.c
wildmatch.c
wildmatch.h