fixed warnings
[libfirm] / ir / opt / opt_calling_conv.c
index 0f79928..aeb4e8f 100644 (file)
@@ -39,6 +39,7 @@ DEBUG_ONLY(static firm_dbg_module_t *dbg = NULL;)
  * Copy the calling conventions from the entities to the call type.
  */
 static void update_calls(ir_node *call, void *env) {
+       (void) env;
        if (is_Call(call)) {
                ir_node *ptr = get_Call_ptr(call);
 
@@ -66,7 +67,6 @@ void opt_change_calling_conventions(unsigned cc) {
        int changed = 0;
 
        FIRM_DBG_REGISTER(dbg, "firm.opt.cc");
-       firm_dbg_set_mask(dbg, SET_LEVEL_1);
 
        assure_irp_globals_address_taken_computed();