remove unused call from gate init
This commit is contained in:
parent
d95447b55d
commit
7e19e20caf
@ -28,7 +28,6 @@ function Gate.new(objref, definition)
|
|||||||
local cdata = ffi.new("char["..(ffi.sizeof("struct Gate") + ffi.sizeof("struct OutPort")*(#gate.ports+1)).."]")
|
local cdata = ffi.new("char["..(ffi.sizeof("struct Gate") + ffi.sizeof("struct OutPort")*(#gate.ports+1)).."]")
|
||||||
gate.c = ffi.cast("struct Gate*", cdata)
|
gate.c = ffi.cast("struct Gate*", cdata)
|
||||||
gate.c.in_queue = 0
|
gate.c.in_queue = 0
|
||||||
Gate.update_c_ports(gate)
|
|
||||||
return gate
|
return gate
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user