From: Phil Sutter Date: Thu, 11 Oct 2018 15:48:55 +0000 (+0200) Subject: json: Drop unused symbolic_constant_json() stub X-Git-Tag: v0.9.1~235 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=df21b75ae20092e36e5aa6fc19c9c96a3f629751;p=thirdparty%2Fnftables.git json: Drop unused symbolic_constant_json() stub This seems like a left-over from day 1: Said function is static in json.c, so there is no point in providing a stub when compiling with JSON disabled. Signed-off-by: Phil Sutter Signed-off-by: Pablo Neira Ayuso --- diff --git a/include/json.h b/include/json.h index 99b67644..66337548 100644 --- a/include/json.h +++ b/include/json.h @@ -164,12 +164,6 @@ STMT_PRINT_STUB(tproxy) #undef EXPR_PRINT_STUB #undef JSON_PRINT_STUB -static inline json_t *symbolic_constant_json(const struct symbol_table *tbl, - const struct expr *expr) -{ - return NULL; -} - static inline int do_command_list_json(struct netlink_ctx *ctx, struct cmd *cmd) { return -1;