Commit 43fbed5c authored by da-woods's avatar da-woods Committed by GitHub

Remove warning from unused temp (GH-4482)

Follow up to https://github.com/cython/cython/pull/4453 (01d323ab).
That PR creates a temp that's only used in the limited API
(and therefore causes warnings on all other paths)
parent 2a62c617
......@@ -3492,6 +3492,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
code.putln(code.error_goto_if_null(env.module_cname, self.pos))
code.putln("#endif")
code.putln("#endif") # CYTHON_PEP489_MULTI_PHASE_INIT
code.putln("CYTHON_UNUSED_VAR(%s);" % module_temp) # only used in limited API
code.putln(
"%s = PyModule_GetDict(%s); %s" % (
......
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