summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>2014-11-04 19:59:35 +0000
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>2014-11-04 19:59:35 +0000
commit33cc3e79238578a84e9419e1e84e781122226eb2 (patch)
treec8b4fd0b3c267723b3476436c4f5091ab2f17a5f
parent6b5813f58a27b972513666f5dc533065131d0bc7 (diff)
downloadgcc-33cc3e79238578a84e9419e1e84e781122226eb2.tar.gz
* sanopt.c (sanopt_optimize_walker): Remove unused variables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217100 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/sanopt.c3
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,5 +1,9 @@
2014-11-04 Marek Polacek <polacek@redhat.com>
+ * sanopt.c (sanopt_optimize_walker): Remove unused variables.
+
+2014-11-04 Marek Polacek <polacek@redhat.com>
+
* Makefile.in (OBJS): Add sanopt.o.
(GTFILES): Add sanopt.c.
* asan.h (asan_expand_check_ifn): Declare.
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 ();