From c8248af523d96133390bdd3362ae32c5d48bb714 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Thu, 13 Nov 2008 13:37:23 +0000 Subject: [PATCH] Resolve warnings. [r23627] --- ir/stat/stat_liveness.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ir/stat/stat_liveness.c b/ir/stat/stat_liveness.c index 95872bfc6..e98b515c6 100644 --- a/ir/stat/stat_liveness.c +++ b/ir/stat/stat_liveness.c @@ -131,11 +131,14 @@ static void live_end_at_block(ir_node *def, ir_node *block) { /** * Walker: finds live-outs and calculate live-ins from that. */ -static void find_live_outs(ir_node *irn, void *ctx) { +static void find_live_outs(ir_node *irn, void *ctx) +{ ir_mode *mode = get_irn_mode(irn); ir_node *block, *use_block; int i; + (void)ctx; + /* only data nodes */ if (! mode_is_datab(mode)) return; -- 2.20.1