]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
fix dupe
authorRudolf Polzer <divverent@xonotic.org>
Mon, 26 Aug 2013 08:28:06 +0000 (10:28 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Mon, 26 Aug 2013 08:28:06 +0000 (10:28 +0200)
ir.c

diff --git a/ir.c b/ir.c
index b77c8ba1f72fbf552508865aaa167023b44a5b18..6ffe959e89c59aa4d50722d4b9f4b80adafb8866 100644 (file)
--- a/ir.c
+++ b/ir.c
@@ -2857,12 +2857,6 @@ static bool gen_blocks_recursive(code_t *code, ir_function *func, ir_block *bloc
             return true;
         }
 
-        if (stmt.opcode == INSTR_RETURN || stmt.opcode == INSTR_DONE)
-        {
-            stmt.o1.u1 = stmt.o3.u1;
-            stmt.o3.u1 = 0;
-        }
-
         if (instr->opcode == VINSTR_COND) {
             ontrue  = instr->bops[0];
             onfalse = instr->bops[1];