projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79b4621
)
fix C compiler warning about unused expression result
author
Stefan Behnel
<stefan_ml@behnel.de>
Sat, 21 Dec 2013 21:11:42 +0000
(22:11 +0100)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Sat, 21 Dec 2013 21:11:42 +0000
(22:11 +0100)
Cython/Compiler/ModuleNode.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ModuleNode.py
b/Cython/Compiler/ModuleNode.py
index
0225b94
..
c1b5b8b
100644
(file)
--- a/
Cython/Compiler/ModuleNode.py
+++ b/
Cython/Compiler/ModuleNode.py
@@
-1124,7
+1124,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 {")