summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2017-07-13 06:41:27 +0200
committerStefan Behnel <stefan_ml@behnel.de>2017-07-13 06:42:00 +0200
commit75340b037ff975a885c3733351833ad6d1d52d3b (patch)
treeff80b374020b2284ec4b393a91f1ed6533f0a977
parent810955b712c7cd88750f113f2f0234420b567409 (diff)
downloadcython-75340b037ff975a885c3733351833ad6d1d52d3b.tar.gz
try to silence C compiler warning about unused function argument
-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 562cd597f..f906230b4 100644
--- a/Cython/Compiler/ModuleNode.py
+++ b/Cython/Compiler/ModuleNode.py
@@ -702,7 +702,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)