diff --git a/Python/sysmodule.c b/Python/sysmodule.c index a05bdf0ea7eef5..b8254f4e94fd0f 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -3371,7 +3371,7 @@ _PySys_InitCore(PyThreadState *tstate, PyObject *sysdict) static int sys_add_xoption(PyObject *opts, const wchar_t *s) { - PyObject *name, *value; + PyObject *name, *value = NULL; const wchar_t *name_end = wcschr(s, L'='); if (!name_end) {