Commits

Anonymous committed ed8d94e

Silence compiler warning about an uninitialized variable

Comments (0)

Files changed (1)

Objects/unicodeobject.c

     wchar_t *wstr;
     PyObject *bytes = NULL;
     char *errmsg;
-    PyObject *reason;
+    PyObject *reason = NULL;
     PyObject *exc;
     size_t error_pos;
     int surrogateescape;