summaryrefslogtreecommitdiff
path: root/Cython/Compiler/ModuleNode.py
diff options
context:
space:
mode:
authorRobert Bradshaw <robertwb@gmail.com>2017-07-14 17:19:14 -0700
committerRobert Bradshaw <robertwb@gmail.com>2017-07-14 17:19:14 -0700
commitd034fdd0e1a669fe57550f2fa8e03a2da43b87b2 (patch)
tree2bac66c41d12048ddef091c856490d25a9154d06 /Cython/Compiler/ModuleNode.py
parent85453e66b322223287b45ffd64162a0a7c7feb54 (diff)
parent863b50c33b955bb29e90bbcb1c8e61bd820845f3 (diff)
downloadcython-d034fdd0e1a669fe57550f2fa8e03a2da43b87b2.tar.gz
Merge commit '863b50c33b955bb29e90bbcb1c8e61bd820845f3' into release
Diffstat (limited to 'Cython/Compiler/ModuleNode.py')
-rw-r--r--Cython/Compiler/ModuleNode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py
index ef27aab17..645ccf4d8 100644
--- a/Cython/Compiler/ModuleNode.py
+++ b/Cython/Compiler/ModuleNode.py
@@ -701,7 +701,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
PyrexTypes.c_int_type.create_from_py_utility_code(env)
code.put(Nodes.branch_prediction_macros)
- code.putln('static CYTHON_INLINE void __Pyx_pretend_to_initialize(void* ptr) {}')
+ code.putln('static CYTHON_INLINE void __Pyx_pretend_to_initialize(void* ptr) { (void)ptr; }')
code.putln('')
code.putln('static PyObject *%s;' % env.module_cname)
code.putln('static PyObject *%s;' % env.module_dict_cname)