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