diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 90e5e65dcf9f8d..f5d4711b0c2c92 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -3375,7 +3375,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) {