From b4cf865778f8aeb6acd2a7f98dc3817e942271cc Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Tue, 13 Jan 2009 12:07:02 +0000 Subject: [PATCH] fix warnings [r25164] --- ir/be/TEMPLATE/TEMPLATE_new_nodes.c | 2 ++ ir/lower/lower_intrinsics.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ir/be/TEMPLATE/TEMPLATE_new_nodes.c b/ir/be/TEMPLATE/TEMPLATE_new_nodes.c index a057aba84..3719221ed 100644 --- a/ir/be/TEMPLATE/TEMPLATE_new_nodes.c +++ b/ir/be/TEMPLATE/TEMPLATE_new_nodes.c @@ -325,6 +325,8 @@ int TEMPLATE_compare_attr(ir_node *a, ir_node *b) { const TEMPLATE_attr_t *attr_a = get_TEMPLATE_attr_const(a); const TEMPLATE_attr_t *attr_b = get_TEMPLATE_attr_const(b); + (void) attr_a; + (void) attr_b; return 0; } diff --git a/ir/lower/lower_intrinsics.c b/ir/lower/lower_intrinsics.c index 904b1337c..6aaaccf2e 100644 --- a/ir/lower/lower_intrinsics.c +++ b/ir/lower/lower_intrinsics.c @@ -832,7 +832,7 @@ int i_mapper_memcpy(ir_node *call, void *ctx) { if (dst == src || (is_Const(len) && is_Const_null(len))) { /* a memcpy(d, d, len) ==> d OR - /* a memcpy(d, s, 0) ==> d */ + a memcpy(d, s, 0) ==> d */ ir_node *mem = get_Call_mem(call); DBG_OPT_ALGSIM0(call, dst, FS_OPT_RTS_MEMCPY); @@ -851,7 +851,7 @@ int i_mapper_mempcpy(ir_node *call, void *ctx) { if (dst == src || (is_Const(len) && is_Const_null(len))) { /* a memcpy(d, d, len) ==> d + len OR - /* a memcpy(d, s, 0) ==> d + 0 */ + a memcpy(d, s, 0) ==> d + 0 */ dbg_info *dbg = get_irn_dbg_info(call); ir_node *mem = get_Call_mem(call); ir_node *blk = get_nodes_block(call); @@ -874,7 +874,7 @@ int i_mapper_memmove(ir_node *call, void *ctx) { if (dst == src || (is_Const(len) && is_Const_null(len))) { /* a memmove(d, d, len) ==> d OR - /* a memmove(d, s, 0) ==> d */ + a memmove(d, s, 0) ==> d */ ir_node *mem = get_Call_mem(call); DBG_OPT_ALGSIM0(call, dst, FS_OPT_RTS_MEMMOVE); -- 2.20.1