fix warnings
authorMatthias Braun <matze@braunis.de>
Tue, 13 Jan 2009 12:07:02 +0000 (12:07 +0000)
committerMatthias Braun <matze@braunis.de>
Tue, 13 Jan 2009 12:07:02 +0000 (12:07 +0000)
[r25164]

ir/be/TEMPLATE/TEMPLATE_new_nodes.c
ir/lower/lower_intrinsics.c

index a057aba..3719221 100644 (file)
@@ -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;
 }
index 904b133..6aaaccf 100644 (file)
@@ -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);