mirror of https://github.com/python/cpython
Silence compiler warning about an uninitialized variable
This commit is contained in:
parent
dd225e4c64
commit
e56666d17f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue