summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beutil.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2007-06-18 16:07:07 +0200
committerMatthias Braun <matze@braunis.de>2007-06-18 16:07:07 +0200
commit9e56dbf066d3698df877e2a9f78caeca29ea5a03 (patch)
tree9c773a5421911043a6e137a3f1e4e26a6eae52cb /ir/be/beutil.c
parent352ef9596e7d5a5f3308484ba81fb4291554b250 (diff)
fixed warnings
[r14604]
Diffstat (limited to 'ir/be/beutil.c')
-rw-r--r--ir/be/beutil.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ir/be/beutil.c b/ir/be/beutil.c
index e6d64dc..a600ab7 100644
--- a/ir/be/beutil.c
+++ b/ir/be/beutil.c
@@ -202,9 +202,11 @@ void be_collect_phis(ir_graph *irg)
irg_walk_graph(irg, collect_phis, NULL, NULL);
}
-static void count_num_reachable_nodes(ir_node *irn, void *env) {
+static void count_num_reachable_nodes(ir_node *irn, void *env)
+{
int *num = env;
(*num)++;
+ (void) irn;
}
unsigned get_num_reachable_nodes(ir_graph *irg) {