cleanup
[libfirm] / ir / opt / opt_polymorphy.c
index cb0b9ee..5a218e4 100644 (file)
@@ -81,7 +81,7 @@ static ir_type *get_dynamic_type(ir_node *ptr)
 
        /* skip Cast and Confirm nodes */
        for (;;) {
-               ir_opcode code = get_irn_opcode(ptr);
+               unsigned code = get_irn_opcode(ptr);
 
                switch (code) {
                case iro_Cast:
@@ -91,7 +91,7 @@ static ir_type *get_dynamic_type(ir_node *ptr)
                        ptr = get_Confirm_value(ptr);
                        continue;
                default:
-                       ;
+                       break;
                }
                break;
        }