summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Python/sysmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index a05bdf0..b8254f4 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -3371,7 +3371,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) {