From df21b75ae20092e36e5aa6fc19c9c96a3f629751 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Thu, 11 Oct 2018 17:48:55 +0200 Subject: 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 --- include/json.h | 6 ------ 1 file changed, 6 deletions(-) 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; -- cgit v1.2.3