summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Python/pylifecycle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c
index 33ca802..379e860 100644
--- a/Python/pylifecycle.c
+++ b/Python/pylifecycle.c
@@ -886,7 +886,7 @@ _Py_InitializeMainInterpreter(PyInterpreterState *interp,
_PyInitError
_Py_InitializeFromConfig(const _PyCoreConfig *config)
{
- PyInterpreterState *interp;
+ PyInterpreterState *interp = NULL;
_PyInitError err;
err = _Py_InitializeCore(&interp, config);
if (_Py_INIT_FAILED(err)) {