Silence compiler warning about an uninitialized variable

This commit is contained in:
Raymond Hettinger 2013-08-04 11:51:03 -07:00
parent dd225e4c64
commit e56666d17f
1 changed files with 1 additions and 1 deletions

View File

@ -3323,7 +3323,7 @@ PyUnicode_EncodeLocale(PyObject *unicode, const char *errors)
wchar_t *wstr;
PyObject *bytes = NULL;
char *errmsg;
PyObject *reason;
PyObject *reason = NULL;
PyObject *exc;
size_t error_pos;
int surrogateescape;