From 94c92231c937cad61ed2153972a7b5a3c25a6846 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Wed, 11 Oct 2006 18:08:02 +0000 Subject: [PATCH] warning fixes --- ir/be/beprofile.c | 35 +++++++++++++++++++++++------------ 1 file changed, 23 insertions(+), 12 deletions(-) diff --git a/ir/be/beprofile.c b/ir/be/beprofile.c index fe884e1a5..fd3165bc9 100644 --- a/ir/be/beprofile.c +++ b/ir/be/beprofile.c @@ -313,18 +313,29 @@ block_id_walker(ir_node * bb, void * data) ir_graph * be_profile_instrument(const char *filename, unsigned flags) { - int n, i; - unsigned int n_blocks = 0; - entity *bblock_id, *bblock_counts, *ent_filename, *ent_locations, - *loc_lineno, *loc_name, *ent; - ir_type *array_type, *uint_type, *string_type, *character_type, - *loc_type, *charptr_type, *gtp; - tarval **tarval_array, **tarval_string, *tv; - int filename_len = strlen(filename)+1; - ident *cur_ident; - int align_l, align_n, size; - ir_graph *rem; - + int n, i; + unsigned int n_blocks = 0; + entity *bblock_id; + entity *bblock_counts; + entity *ent_filename; + entity *ent_locations = NULL; + entity *loc_lineno = NULL; + entity *loc_name = NULL; + entity *ent; + ir_type *array_type; + ir_type *uint_type; + ir_type *string_type; + ir_type *character_type; + ir_type *loc_type = NULL; + ir_type *charptr_type; + ir_type *gtp; + tarval **tarval_array; + tarval **tarval_string; + tarval *tv; + int filename_len = strlen(filename)+1; + ident *cur_ident; + int align_l, align_n, size; + ir_graph *rem; block_id_walker_data_t wd; symconst_symbol sym; -- 2.20.1