summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlvaro Neira Ayuso <alvaroneay@gmail.com>2015-01-12 10:03:27 +0000
committerPatrick McHardy <kaber@trash.net>2015-01-12 10:03:27 +0000
commit5eec8c95e7ed4e4261f4afc943c7fc792cc95365 (patch)
tree6469b3a8b0f72cf07048c5c499b189101164e6ae
parent1f1ff357b76f2d50fe093b673478070f340fa5d4 (diff)
evaluate: clean up unused variables (pctx)
Signed-off-by: Alvaro Neira Ayuso <alvaroneay@gmail.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
-rw-r--r--src/evaluate.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/evaluate.c b/src/evaluate.c
index 53f3cf0a..d24d4ccf 100644
--- a/src/evaluate.c
+++ b/src/evaluate.c
@@ -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);