fix warning
authorMatthias Braun <matze@braunis.de>
Wed, 21 Feb 2007 08:08:40 +0000 (08:08 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 21 Feb 2007 08:08:40 +0000 (08:08 +0000)
[r8662]

ir/ana/irmemory.c
ir/ir/irgmod.c

index 8020bae..90f9175 100644 (file)
@@ -568,6 +568,7 @@ static void init_taken_flag(ir_type * tp) {
        }
 }  /* init_taken_flag */
 
+#if 0
 /**
  * Print the address taken state of all entities of a given type for debugging.
  */
@@ -583,6 +584,7 @@ static void print_address_taken_state(ir_type *tp) {
                }
        }
 }  /* print_address_taken_state */
+#endif
 
 /**
  * Post-walker: check for global entity address
index 5170511..953610b 100644 (file)
@@ -71,8 +71,6 @@ void exchange(ir_node *old, ir_node *nw)
        * the edges from the old node to the new directly.
        */
        if (edges_activated(irg)) {
-               int i;
-
                /* copy all dependencies from old to new */
                add_irn_deps(nw, old);