X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fstat%2Fconst_stat.c;h=8a824c7b9dd0cb1dd6534fbf48677e34ffa81ffd;hb=e78f164c3a0654b8567ff0fcba69b3ca68f07ab5;hp=1b0fad0c8e59512b0b173b53ab34686ee0967e90;hpb=2cc9db25f1d7780e24013ef1cc912a3cd770d7a5;p=libfirm diff --git a/ir/stat/const_stat.c b/ir/stat/const_stat.c index 1b0fad0c8..8a824c7b9 100644 --- a/ir/stat/const_stat.c +++ b/ir/stat/const_stat.c @@ -95,6 +95,7 @@ void stat_update_const(stat_info_t *status, ir_node *node, graph_entry_t *graph) ir_mode *mode = get_irn_mode(node); tarval *tv; unsigned bits; + (void) graph; if (mode_is_int(mode)) { tv = get_Const_tarval(node); @@ -121,7 +122,7 @@ void stat_update_const(stat_info_t *status, ir_node *node, graph_entry_t *graph) /* clears the const statistics for a new snapshot */ void stat_const_clear(stat_info_t *status) { - int i; + size_t i; for (i = 0; i < ARR_SIZE(status->const_info.int_bits_count); ++i) cnt_clr(&status->const_info.int_bits_count[i]); @@ -134,5 +135,6 @@ void stat_const_clear(stat_info_t *status) { /* initialize the Const statistic. */ void stat_init_const_cnt(stat_info_t *status) { + (void) status; /* currently nothing */ }