The updated value of 'is_exists' is no longer read at this point. Fixes: cb21869649208 ("json: tcp: add raw tcp option match support") Signed-off-by: Phil Sutter <phil@xxxxxx> --- src/json.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/json.c b/src/json.c index f648ea1b8c178..f111ad678f8a0 100644 --- a/src/json.c +++ b/src/json.c @@ -708,7 +708,6 @@ json_t *exthdr_expr_json(const struct expr *expr, struct output_ctx *octx) "base", expr->exthdr.raw_type, "offset", expr->exthdr.offset, "len", expr->len); - is_exists = false; } return json_pack("{s:o}", "tcp option", root); -- 2.31.1