From 673fade339ee671ef26258d9ece2f3947fb43a19 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Tue, 4 Nov 2014 19:59:35 +0000 Subject: [PATCH] * sanopt.c (sanopt_optimize_walker): Remove unused variables. From-SVN: r217100 --- gcc/ChangeLog | 4 ++++ gcc/sanopt.c | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7554f8093df..ac76f2a3bac 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2014-11-04 Marek Polacek + + * sanopt.c (sanopt_optimize_walker): Remove unused variables. + 2014-11-04 Marek Polacek * Makefile.in (OBJS): Add sanopt.o. diff --git a/gcc/sanopt.c b/gcc/sanopt.c index f1d51d1c765..4483ff75cba 100644 --- a/gcc/sanopt.c +++ b/gcc/sanopt.c @@ -117,9 +117,6 @@ sanopt_optimize_walker (basic_block bb, struct sanopt_ctx *ctx) for this pointer. Perhaps we can drop this one. But only if this check doesn't specify stricter alignment. */ - int i; - gimple g; - while (!v.is_empty ()) { gimple g = v.last (); -- 2.30.2