]> git.ipfire.org Git - thirdparty/nftables.git/commit
ipopt: drop unused 'ptr' argument
authorFlorian Westphal <fw@strlen.de>
Fri, 3 Dec 2021 16:07:53 +0000 (17:07 +0100)
committerFlorian Westphal <fw@strlen.de>
Tue, 7 Dec 2021 11:23:21 +0000 (12:23 +0100)
commit3a8d3fea54ce6eb922e4bb04e1acf9b995a66607
treebf6729561c022b71e17f5ed101112f8c79271b20
parentcb4b07d0b62836ab860e11e1f50c98656eeb4f9f
ipopt: drop unused 'ptr' argument

Its always 0, so remove it.
Looks like this was intended to support variable options that have
array-like members, but so far this isn't implemented, better remove
dead code and implement it properly when such support is needed.

Signed-off-by: Florian Westphal <fw@strlen.de>
include/ipopt.h
src/ipopt.c
src/parser_bison.y
src/parser_json.c