summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2017-08-25 10:21:16 +0200
committerStefan Behnel <stefan_ml@behnel.de>2017-08-25 10:21:16 +0200
commit280ac943a537e529a005a45ef55c490c6aceaf32 (patch)
tree0e4b94363dd86bf371417e6fbc687cdf328b5e40
parentccfeb8175575019c9ccda482936fbc3f1ea1d2f0 (diff)
downloadcython-280ac943a537e529a005a45ef55c490c6aceaf32.tar.gz
Avoid potential C compiler warnings.
-rw-r--r--Cython/Utility/Coroutine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Utility/Coroutine.c b/Cython/Utility/Coroutine.c
index cf995db6d..a179e5793 100644
--- a/Cython/Utility/Coroutine.c
+++ b/Cython/Utility/Coroutine.c
@@ -907,7 +907,7 @@ static PyObject *__Pyx_Coroutine_Close(PyObject *self) {
if (unlikely(retval)) {
const char *msg;
Py_DECREF(retval);
- if (0) {
+ if ((0)) {
#ifdef __Pyx_Coroutine_USED
} else if (__Pyx_Coroutine_CheckExact(self)) {
msg = "coroutine ignored GeneratorExit";