reindent escape_ana.c in firm style
[libfirm] / ir / opt / proc_cloning.c
index 7667439..f63ae14 100644 (file)
@@ -132,9 +132,6 @@ static void process_call(ir_node *call, ir_entity *callee, q_set *hmap)
         * magic
         */
        mtp = get_Call_type(call);
-       if (get_method_variadicity(mtp) != variadicity_non_variadic) {
-               n_params = get_method_first_variadic_param_index(mtp) - 1;
-       }
 
        /* In this for loop we collect the calls, that have
           an constant parameter. */
@@ -314,7 +311,7 @@ static ir_node *get_irg_arg(ir_graph *irg, size_t pos)
        /* Search the argument with the number pos.*/
        for (i = get_irn_n_outs(irg_args) - 1; i >= 0; --i) {
                ir_node *proj = get_irn_out(irg_args, i);
-               if (pos == get_Proj_proj(proj)) {
+               if ((int)pos == get_Proj_proj(proj)) {
                        if (arg) {
                                /*
                                 * More than one arg node found: