diff options
author | Raymond Hettinger <python@rcn.com> | 2013-08-04 18:51:03 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2013-08-04 18:51:03 (GMT) |
commit | e56666d17f0b92f474ca85b65ccaafc4c57aa36b (patch) | |
tree | bf482a5abca15fde58182d1d18f81cdbef00c507 | |
parent | dd225e4c643507f2d8c6f222edbfe4a6df2d2b88 (diff) | |
download | cpython-e56666d17f0b92f474ca85b65ccaafc4c57aa36b.zip cpython-e56666d17f0b92f474ca85b65ccaafc4c57aa36b.tar.gz cpython-e56666d17f0b92f474ca85b65ccaafc4c57aa36b.tar.bz2 |
Silence compiler warning about an uninitialized variable
-rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 446520a..440d35a 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -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; |