From 1d6f2aa371d46bb68e55b990b50a0b757efe207a Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=B6tz=20Lindenmaier?= Date: Mon, 14 Mar 2005 11:31:41 +0000 Subject: [PATCH] removed causes for warnings --- ir/be/beasm_asm_gnu.c | 8 +++++--- ir/be/beasm_dump_globals.c | 12 ++++++------ 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/ir/be/beasm_asm_gnu.c b/ir/be/beasm_asm_gnu.c index 35d9fc24c..e464404ad 100644 --- a/ir/be/beasm_asm_gnu.c +++ b/ir/be/beasm_asm_gnu.c @@ -35,11 +35,13 @@ static struct obstack *get_obstack_for_segment ( gnuasm_privdata_t *privdata, as /** * the dumper callbacks */ +/* static void gnuasm_dump_align(void *data, asm_segment_t segment, int align) { gnuasm_privdata_t *privdata = data; struct obstack* obst = get_obstack_for_segment( privdata, segment ); obstack_printf(obst, "\t.align %d\n", align); } +*/ static void gnuasm_dump_arith_tarval(void *data, asm_segment_t segment, tarval *tv, int bytes) { @@ -224,15 +226,15 @@ static void gnuasm_dump_newline(void *data, asm_segment_t segment) ////////////////////////////////////////////////////////////////////////////// static void gnuasm_dump_header(void *data) { - gnuasm_privdata_t *privdata = data; + /*gnuasm_privdata_t *privdata = data;*/ } static void gnuasm_dump_footer(void *data) { - gnuasm_privdata_t *privdata = data; + /*gnuasm_privdata_t *privdata = data;*/ } static void gnuasm_dump_segment_header(void *data) { - gnuasm_privdata_t *privdata = data; + /*gnuasm_privdata_t *privdata = data;*/ } ////////////////////////////////////////////////////////////////////////////// diff --git a/ir/be/beasm_dump_globals.c b/ir/be/beasm_dump_globals.c index e48fbdee7..7fa1ea5f6 100644 --- a/ir/be/beasm_dump_globals.c +++ b/ir/be/beasm_dump_globals.c @@ -209,8 +209,8 @@ static void asm_dump_global ( assembler_t *assembler, entity *ent) { type *ty = get_entity_type(ent); const char *ld_name = get_entity_ld_name(ent); - int align, is_constant, h; - int i,j,size = 0; + int align, /*is_constant,*/ h; + int i, /*j,*/ size = 0; ent_variability variability; ent_visibility visibility; @@ -314,14 +314,14 @@ static void asm_dump_global ( assembler_t *assembler, entity *ent) /* collect the values and store them at the offsets */ for(i = 0; i < get_compound_ent_n_values(ent); ++i) { - int graph_length, aipos, offset, stepsize; + int graph_length, aipos, offset/*, stepsize*/; struct arr_info *ai; - int found = 0; + /*int found = 0;*/ int all_n = 1; - entity *member = get_compound_ent_value_member(ent, i); + /*entity *member = get_compound_ent_value_member(ent, i); */ compound_graph_path *path = get_compound_ent_value_path(ent, i); entity *node = get_compound_graph_path_node(path, 0); - type *node_type = get_entity_type(node); + /*type *node_type = get_entity_type(node);*/ /* get the access path to the costant value */ graph_length = get_compound_graph_path_length(path); -- 2.20.1