another fehler
[libfirm] / ir / be / becopyheur4.c
index f370b86..6d170a7 100644 (file)
@@ -1191,7 +1191,7 @@ static void color_aff_chunk(co_mst_env_t *env, aff_chunk_t *c) {
                for (idx = 0, len = ARR_LEN(c->n); idx < len; ++idx) {
                        ir_node      *irn  = c->n[idx];
                        co_mst_irn_t *node = get_co_mst_irn(env, irn);
-                       int          good  = 0;
+                       int          good;
 
                        assert(! node->fixed && "Node must not have a fixed color.");
                        DB((dbg, LEVEL_4, "\t\tBringing %+F from color %d to color %d ...\n", irn, node->col, col));
@@ -1208,7 +1208,7 @@ static void color_aff_chunk(co_mst_env_t *env, aff_chunk_t *c) {
                        one_good |= good;
                        did_all  &= good;
 
-                       DB((dbg, LEVEL_4, "\t\t... %+F attempt from %d to %d %s\n", irn, node->col, col, one_good ? "succeeded" : "failed"));
+                       DB((dbg, LEVEL_4, "\t\t... %+F attempt from %d to %d %s\n", irn, node->col, col, good ? "succeeded" : "failed"));
                }
 
                /* try next color when failed */