[nft PATCH] evaluate: clean up unused variables (pctx)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Alvaro Neira Ayuso <alvaroneay@xxxxxxxxx>
---
 src/evaluate.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/evaluate.c b/src/evaluate.c
index 53f3cf0..d24d4cc 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);
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux