diff options
author | Florian Westphal <fw@strlen.de> | 2021-12-03 17:07:53 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2021-12-07 12:23:21 +0100 |
commit | 3a8d3fea54ce6eb922e4bb04e1acf9b995a66607 (patch) | |
tree | bf6729561c022b71e17f5ed101112f8c79271b20 /include/ipopt.h | |
parent | cb4b07d0b62836ab860e11e1f50c98656eeb4f9f (diff) |
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>
Diffstat (limited to 'include/ipopt.h')
-rw-r--r-- | include/ipopt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ipopt.h b/include/ipopt.h index d8d48066..03420dc6 100644 --- a/include/ipopt.h +++ b/include/ipopt.h @@ -6,7 +6,7 @@ #include <statement.h> extern struct expr *ipopt_expr_alloc(const struct location *loc, - uint8_t type, uint8_t field, uint8_t ptr); + uint8_t type, uint8_t field); extern void ipopt_init_raw(struct expr *expr, uint8_t type, unsigned int offset, unsigned int len, |