]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
Removing old commented-out code
authorWolfgang (Blub) Bumiller <blub@speed.at>
Sun, 19 Aug 2012 17:01:31 +0000 (19:01 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Sun, 19 Aug 2012 17:01:31 +0000 (19:01 +0200)
ir.c

diff --git a/ir.c b/ir.c
index 713e5df51c4e03ff1b54cbeb85289f03791f43a6..158e207f7c5936fb4d5596f2f55b05fecb762991 100644 (file)
--- a/ir.c
+++ b/ir.c
@@ -2610,12 +2610,6 @@ static bool gen_global_function(ir_builder *ir, ir_value *global)
     else {
         irfun->code_function_def = code_functions_elements;
         fun.entry = code_statements_elements;
-        /* done in second pass: gen_global_function_code!
-        if (!gen_function_code(irfun)) {
-            irerror(irfun->context, "Failed to generate code for function %s", irfun->name);
-            return false;
-        }
-        */
     }
 
     return (code_functions_add(fun) >= 0);