diff options
author | Stéphane Wirtel <stephane@wirtel.be> | 2019-03-18 16:10:29 (GMT) |
---|---|---|
committer | Victor Stinner <vstinner@redhat.com> | 2019-03-18 16:10:29 (GMT) |
commit | 9e06d2b865beb62e54a4da39eb191f9fb8385282 (patch) | |
tree | d3c3a7ba92e4d3ddedf614a875eaec226cb297c0 /Python | |
parent | 0c9258a6d299e0484538ef8d4b23f30515283db2 (diff) | |
download | cpython-9e06d2b865beb62e54a4da39eb191f9fb8385282.zip cpython-9e06d2b865beb62e54a4da39eb191f9fb8385282.tar.gz cpython-9e06d2b865beb62e54a4da39eb191f9fb8385282.tar.bz2 |
bpo-36328: Fix compiler warning in Py_NewInterpreter() (GH-12381)
Diffstat (limited to 'Python')
-rw-r--r-- | Python/pylifecycle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index c2d431c..49a2f18 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -1434,7 +1434,7 @@ handle_error: PyThreadState * Py_NewInterpreter(void) { - PyThreadState *tstate; + PyThreadState *tstate = NULL; _PyInitError err = new_interpreter(&tstate); if (_Py_INIT_FAILED(err)) { _Py_ExitInitError(err); |