]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
evaluate: clean up unused variables (pctx)
authorAlvaro Neira Ayuso <alvaroneay@gmail.com>
Mon, 12 Jan 2015 10:03:27 +0000 (10:03 +0000)
committerPatrick McHardy <kaber@trash.net>
Mon, 12 Jan 2015 10:03:27 +0000 (10:03 +0000)
Signed-off-by: Alvaro Neira Ayuso <alvaroneay@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
src/evaluate.c

index 53f3cf0a4ada16cfd9fc0594209e1b170e8c8553..d24d4ccfee8ebaeea57f1d3c566b26164d54c5c5 100644 (file)
@@ -1563,7 +1563,6 @@ static int nat_evaluate_transport(struct eval_ctx *ctx, struct stmt *stmt,
 
 static int stmt_evaluate_nat(struct eval_ctx *ctx, struct stmt *stmt)
 {
-       struct proto_ctx *pctx = &ctx->pctx;
        int err;
 
        err = nat_evaluate_family(ctx, stmt);
@@ -1587,7 +1586,6 @@ static int stmt_evaluate_nat(struct eval_ctx *ctx, struct stmt *stmt)
 
 static int stmt_evaluate_masq(struct eval_ctx *ctx, struct stmt *stmt)
 {
-       struct proto_ctx *pctx = &ctx->pctx;
        int err;
 
        err = nat_evaluate_family(ctx, stmt);
@@ -1600,7 +1598,6 @@ static int stmt_evaluate_masq(struct eval_ctx *ctx, struct stmt *stmt)
 
 static int stmt_evaluate_redir(struct eval_ctx *ctx, struct stmt *stmt)
 {
-       struct proto_ctx *pctx = &ctx->pctx;
        int err;
 
        err = nat_evaluate_family(ctx, stmt);