bpo-36328: Fix compiler warning in Py_NewInterpreter() (GH-12381)

This commit is contained in:
Stéphane Wirtel 2019-03-18 17:10:29 +01:00 committed by Victor Stinner
parent 0c9258a6d2
commit 9e06d2b865
1 changed files with 1 additions and 1 deletions

View File

@ -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);