summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2013-08-04 18:51:35 (GMT)
committerRaymond Hettinger <python@rcn.com>2013-08-04 18:51:35 (GMT)
commit5ed1b38a7d57927ab779132adc2aa8c24ff742f3 (patch)
tree8d56bf9f332da50042eb546957c4fd0ee8815462 /Objects/unicodeobject.c
parent5e5a8230c206e5762b5d4c0708189422c1b1f3b1 (diff)
parente56666d17f0b92f474ca85b65ccaafc4c57aa36b (diff)
downloadcpython-5ed1b38a7d57927ab779132adc2aa8c24ff742f3.zip
cpython-5ed1b38a7d57927ab779132adc2aa8c24ff742f3.tar.gz
cpython-5ed1b38a7d57927ab779132adc2aa8c24ff742f3.tar.bz2
merge
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 37fb964..2f437f6 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -3235,7 +3235,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;