diff options
author | Raymond Hettinger <python@rcn.com> | 2013-08-04 11:51:03 -0700 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2013-08-04 11:51:03 -0700 |
commit | e56666d17f0b92f474ca85b65ccaafc4c57aa36b (patch) | |
tree | bf482a5abca15fde58182d1d18f81cdbef00c507 | |
parent | dd225e4c643507f2d8c6f222edbfe4a6df2d2b88 (diff) | |
download | cpython-git-e56666d17f0b92f474ca85b65ccaafc4c57aa36b.tar.gz |
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 446520ae93..440d35ad0c 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; |