summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-05-06 23:01:31 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-05-06 23:01:31 (GMT)
commitf4f24248dce5bf105613fce4d54c73e97dd09899 (patch)
treebb599f2731ae57f33705623b320adacf1ba5400d /Objects
parent37c74650d15d4c6955a6184da98774a5ad930b78 (diff)
downloadcpython-f4f24248dce5bf105613fce4d54c73e97dd09899.zip
cpython-f4f24248dce5bf105613fce4d54c73e97dd09899.tar.gz
cpython-f4f24248dce5bf105613fce4d54c73e97dd09899.tar.bz2
Fix uninitialized value in charmap_decode_mapping()
Diffstat (limited to 'Objects')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 795c18f..c5e50eb 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -7459,7 +7459,7 @@ charmap_decode_mapping(const char *s,
Py_ssize_t startinpos, endinpos;
PyObject *errorHandler = NULL, *exc = NULL;
unsigned char ch;
- PyObject *key, *item;
+ PyObject *key, *item = NULL;
e = s + size;