]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
why didn't gcc catch that...
authorWolfgang Bumiller <wry.git@bumiller.com>
Sat, 24 Jan 2015 09:26:43 +0000 (10:26 +0100)
committerWolfgang Bumiller <wry.git@bumiller.com>
Sat, 24 Jan 2015 09:26:43 +0000 (10:26 +0100)
ir.cpp

diff --git a/ir.cpp b/ir.cpp
index e9aa7b740f7045abc3b930edd5529acddafa54a0..787a126cd6907bd68027fe24d26125ca0a6f796b 100644 (file)
--- a/ir.cpp
+++ b/ir.cpp
@@ -428,10 +428,8 @@ ir_function::ir_function(ir_builder* owner_, qc_type outtype_)
   name("<@unnamed>"),
   outtype(outtype_)
 {
-    owner = owner;
     context.file = "<@no context>";
     context.line = 0;
-    outtype = outtype;
 }
 
 ir_function::~ir_function()