Commit e56666d1 authored by Raymond Hettinger's avatar Raymond Hettinger

Silence compiler warning about an uninitialized variable

parent dd225e4c
...@@ -3323,7 +3323,7 @@ PyUnicode_EncodeLocale(PyObject *unicode, const char *errors) ...@@ -3323,7 +3323,7 @@ PyUnicode_EncodeLocale(PyObject *unicode, const char *errors)
wchar_t *wstr; wchar_t *wstr;
PyObject *bytes = NULL; PyObject *bytes = NULL;
char *errmsg; char *errmsg;
PyObject *reason; PyObject *reason = NULL;
PyObject *exc; PyObject *exc;
size_t error_pos; size_t error_pos;
int surrogateescape; int surrogateescape;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment