Commit a7e8cd06 authored by Stefan Behnel's avatar Stefan Behnel

removed unused code

parent 32fcfdd8
...@@ -2168,10 +2168,6 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): ...@@ -2168,10 +2168,6 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
# table pointer if any. # table pointer if any.
if type in env.types_imported: if type in env.types_imported:
return return
if type.typedef_flag:
objstruct = type.objstruct_cname
else:
objstruct = "struct %s" % type.objstruct_cname
self.generate_type_import_call(type, code, self.generate_type_import_call(type, code,
code.error_goto_if_null(type.typeptr_cname, pos)) code.error_goto_if_null(type.typeptr_cname, pos))
self.use_type_import_utility_code(env) self.use_type_import_utility_code(env)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment