diff options
author | Inada Naoki <songofacandy@gmail.com> | 2020-02-03 10:03:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-03 10:03:34 (GMT) |
commit | 869c0c99b94ff9527acc1ca060164ab3d1bdcc53 (patch) | |
tree | 4797cc0aa0c84c8ff83cf7935ddf7ca82f223f13 /Objects/stringlib | |
parent | 032de7324e30c6b44ef272cea3be205a3d768759 (diff) | |
download | cpython-869c0c99b94ff9527acc1ca060164ab3d1bdcc53.zip cpython-869c0c99b94ff9527acc1ca060164ab3d1bdcc53.tar.gz cpython-869c0c99b94ff9527acc1ca060164ab3d1bdcc53.tar.bz2 |
bpo-36051: Fix compiler warning. (GH-18325)
Diffstat (limited to 'Objects/stringlib')
-rw-r--r-- | Objects/stringlib/join.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/stringlib/join.h b/Objects/stringlib/join.h index 4d023ed..8ad598a 100644 --- a/Objects/stringlib/join.h +++ b/Objects/stringlib/join.h @@ -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) { |