commit | 9e06d2b865beb62e54a4da39eb191f9fb8385282 | [log] [tgz] |
---|---|---|
author | Stéphane Wirtel <stephane@wirtel.be> | Mon Mar 18 17:10:29 2019 +0100 |
committer | Victor Stinner <vstinner@redhat.com> | Mon Mar 18 17:10:29 2019 +0100 |
tree | d3c3a7ba92e4d3ddedf614a875eaec226cb297c0 | |
parent | 0c9258a6d299e0484538ef8d4b23f30515283db2 [diff] [blame] |
bpo-36328: Fix compiler warning in Py_NewInterpreter() (GH-12381)
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 @@ PyThreadState * Py_NewInterpreter(void) { - PyThreadState *tstate; + PyThreadState *tstate = NULL; _PyInitError err = new_interpreter(&tstate); if (_Py_INIT_FAILED(err)) { _Py_ExitInitError(err);