diff options
author | Phil Sutter <phil@nwl.cc> | 2021-06-11 16:23:22 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2021-06-14 13:31:07 +0200 |
commit | c1616dfd1ce40bac197924c8947e1c646e915dca (patch) | |
tree | 7c6b91824d7c273bd598779e6b94ef8d88ba4577 /src/json.c | |
parent | c2e06beef3390867901080c0d789e3b6257e2b98 (diff) |
json: Drop pointless assignment in exthdr_expr_json()
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@nwl.cc>
Diffstat (limited to 'src/json.c')
-rw-r--r-- | src/json.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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); |