summaryrefslogtreecommitdiffstats
path: root/src/xt.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2022-11-24 16:24:05 +0100
committerPhil Sutter <phil@nwl.cc>2022-12-13 14:59:55 +0100
commite432477f5c013d0ca56f9fc5f9ac7cf35301b0b9 (patch)
tree346bc377cf9a66693d0f024249a09f4aca9ff797 /src/xt.c
parent5c30feeee5cfee74840444b63329fa5a13b471d2 (diff)
xt: Purify enum nft_xt_type
Remove NFT_XT_MAX from the enum, it is not a valid xt type. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'src/xt.c')
-rw-r--r--src/xt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/xt.c b/src/xt.c
index 7880fa1b..300416a1 100644
--- a/src/xt.c
+++ b/src/xt.c
@@ -110,8 +110,6 @@ void xt_stmt_xlate(const struct stmt *stmt, struct output_ctx *octx)
}
xfree(t);
break;
- default:
- break;
}
xt_xlate_free(xl);