mirror of
https://github.com/python/cpython.git
synced 2024-11-23 18:04:37 +08:00
bpo-36051: Fix compiler warning. (GH-18325)
This commit is contained in:
parent
032de7324e
commit
869c0c99b9
@ -20,7 +20,7 @@ STRINGLIB(bytes_join)(PyObject *sep, PyObject *iterable)
|
||||
Py_buffer static_buffers[NB_STATIC_BUFFERS];
|
||||
#define GIL_THRESHOLD 1048576
|
||||
int drop_gil = 1;
|
||||
PyThreadState *save;
|
||||
PyThreadState *save = NULL;
|
||||
|
||||
seq = PySequence_Fast(iterable, "can only join an iterable");
|
||||
if (seq == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user