Commit 9e06d2b8 authored by Stéphane Wirtel's avatar Stéphane Wirtel Committed by Victor Stinner

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

parent 0c9258a6
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment