fix bug in lower_calls (found by cparser warning)
authorMatthias Braun <matze@braunis.de>
Mon, 20 Jun 2011 12:54:30 +0000 (14:54 +0200)
committerMatthias Braun <matze@braunis.de>
Mon, 20 Jun 2011 12:54:30 +0000 (14:54 +0200)
ir/lower/lower_calls.c

index a3eca0b..65e58b3 100644 (file)
@@ -221,7 +221,7 @@ static cl_entry *get_Call_entry(ir_node *call, wlk_env *env)
 {
        cl_entry *res = (cl_entry*)get_irn_link(call);
        if (res == NULL) {
-               cl_entry *res = OALLOC(&env->obst, cl_entry);
+               res = OALLOC(&env->obst, cl_entry);
                res->next  = env->cl_list;
                res->call  = call;
                res->copyb = NULL;