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 e9aa7b7..787a126 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()