* sanopt.c (sanopt_optimize_walker): Remove unused variables.
authorMarek Polacek <polacek@redhat.com>
Tue, 4 Nov 2014 19:59:35 +0000 (19:59 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Tue, 4 Nov 2014 19:59:35 +0000 (19:59 +0000)
From-SVN: r217100

gcc/ChangeLog
gcc/sanopt.c

index 7554f8093df42b2ec791437312cbfd368fc03bfe..ac76f2a3bac521c1c743398a75e373d424d12dca 100644 (file)
@@ -1,3 +1,7 @@
+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.
index f1d51d1c7651cce013e136c993a7bb8e8dca0e28..4483ff75cba7cfc4e216adb73a3f7ddc266cd4b6 100644 (file)
@@ -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 ();