diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2015-09-30 18:47:51 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2015-09-30 18:47:51 +0200 |
commit | bb69beef32d8000fd469c13b7afd794ced49f972 (patch) | |
tree | 7b077c19937f528c8e52c5206c1715e9c3ef1c48 /Cython/Utility/ModuleSetupCode.c | |
parent | 8bf936e5449592b8b69dd56c09640db8c0ab12ff (diff) | |
download | cython-bb69beef32d8000fd469c13b7afd794ced49f972.tar.gz |
suppress warning about unused value by casting it to (void)
Diffstat (limited to 'Cython/Utility/ModuleSetupCode.c')
-rw-r--r-- | Cython/Utility/ModuleSetupCode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Utility/ModuleSetupCode.c b/Cython/Utility/ModuleSetupCode.c index ec3624a88..245698b62 100644 --- a/Cython/Utility/ModuleSetupCode.c +++ b/Cython/Utility/ModuleSetupCode.c @@ -213,7 +213,7 @@ typedef struct { #endif #endif -#define __Pyx_void_to_None(void_result) (void_result, Py_INCREF(Py_None), Py_None) +#define __Pyx_void_to_None(void_result) ((void)(void_result), Py_INCREF(Py_None), Py_None) /////////////// CInitCode /////////////// |