summaryrefslogtreecommitdiff
path: root/Python/marshal.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-10-13 02:29:06 +0200
committerChristian Heimes <christian@cheimes.de>2013-10-13 02:29:06 +0200
commit3572842c19a8ddf1dde2162fee3c7a8a0ce9979b (patch)
tree70324c572df5f463e873e28cda90548d51cbcf72 /Python/marshal.c
parent5703cd58ca2a83bee48266aa31b759e6349b5323 (diff)
downloadcpython-git-3572842c19a8ddf1dde2162fee3c7a8a0ce9979b.tar.gz
Issue #19219: retval may be used uninitialized value
CID 486239: Uninitialized pointer read (UNINIT)
Diffstat (limited to 'Python/marshal.c')
-rw-r--r--Python/marshal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/marshal.c b/Python/marshal.c
index 9ca23dbe15..2addb2dbfe 100644
--- a/Python/marshal.c
+++ b/Python/marshal.c
@@ -841,7 +841,7 @@ r_object(RFILE *p)
long i, n;
int type, code = r_byte(p);
int flag, is_interned = 0;
- PyObject *retval;
+ PyObject *retval = NULL;
if (code == EOF) {
PyErr_SetString(PyExc_EOFError,