commit | 869c0c99b94ff9527acc1ca060164ab3d1bdcc53 | [log] [tgz] |
---|---|---|
author | Inada Naoki <songofacandy@gmail.com> | Mon Feb 03 19:03:34 2020 +0900 |
committer | GitHub <noreply@github.com> | Mon Feb 03 19:03:34 2020 +0900 |
tree | 4797cc0aa0c84c8ff83cf7935ddf7ca82f223f13 | |
parent | 032de7324e30c6b44ef272cea3be205a3d768759 [diff] [blame] |
bpo-36051: Fix compiler warning. (GH-18325)
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 @@ 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) {