Commit 31311d38 authored by Stefan Behnel's avatar Stefan Behnel

Make sure there is always a 'return' in the specialised set iteration C code, also in non-CPython.

parent 1ea84199
...@@ -480,9 +480,9 @@ static CYTHON_INLINE int __Pyx_set_iter_next( ...@@ -480,9 +480,9 @@ static CYTHON_INLINE int __Pyx_set_iter_next(
Py_INCREF(*value); Py_INCREF(*value);
return 1; return 1;
} }
return 0;
} }
#endif #endif
return 0;
} }
/////////////// py_set_discard_unhashable /////////////// /////////////// py_set_discard_unhashable ///////////////
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment