why didn't gcc catch that...

This commit is contained in:
Wolfgang Bumiller 2015-01-24 10:26:43 +01:00
parent 5c64437189
commit e7d1e701c4

2
ir.cpp
View file

@ -428,10 +428,8 @@ ir_function::ir_function(ir_builder* owner_, qc_type outtype_)
name("<@unnamed>"), name("<@unnamed>"),
outtype(outtype_) outtype(outtype_)
{ {
owner = owner;
context.file = "<@no context>"; context.file = "<@no context>";
context.line = 0; context.line = 0;
outtype = outtype;
} }
ir_function::~ir_function() ir_function::~ir_function()