From b954a4667d5528648e20ad326837aa592f27b614 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Wed, 21 Feb 2007 08:08:40 +0000 Subject: [PATCH] fix warning [r8662] --- ir/ana/irmemory.c | 2 ++ ir/ir/irgmod.c | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ir/ana/irmemory.c b/ir/ana/irmemory.c index 8020bae6d..90f9175af 100644 --- a/ir/ana/irmemory.c +++ b/ir/ana/irmemory.c @@ -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 diff --git a/ir/ir/irgmod.c b/ir/ir/irgmod.c index 517051172..953610b69 100644 --- a/ir/ir/irgmod.c +++ b/ir/ir/irgmod.c @@ -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); -- 2.20.1