Commit 4c6a83c6 authored by Stefan Behnel's avatar Stefan Behnel

fix C compiler warning about unused expression result

--HG--
extra : transplant_source : q%D5F8/%0B6%E2%B7R%F3%C9%E1%98%1B%E0X%A0%F1I
parent 60eb977a
......@@ -1126,7 +1126,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
code.putln("o = (PyObject*)%s[--%s];" % (
freelist_name, freecount_name))
code.putln("memset(o, 0, sizeof(%s));" % obj_struct)
code.putln("PyObject_INIT(o, t);")
code.putln("(void) PyObject_INIT(o, t);")
if scope.needs_gc():
code.putln("PyObject_GC_Track(o);")
code.putln("} else {")
......
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