Skip to contentSkip to conversation

evaluate: clean up unused variables (pctx)

PATCH Applied Alvaro Neira Ayuso 2 participants 2 messages Jan 12, 2015 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 evaluate: clean up unused variables (pctx)

---
 src/evaluate.c |    3 ---
 1 file changed, 3 deletions(-)
src/evaluate.c +0 -3
index 53f3cf0..d24d4cc 100644
@@ -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);
Signature · 1 line
1.7.10.4