summaryrefslogtreecommitdiffstats
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r--Python/sysmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index 84f1738..6e9ec90 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -3020,7 +3020,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) {