summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/zipimport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/zipimport.c b/Modules/zipimport.c
index 6b125c2..de89a76 100644
--- a/Modules/zipimport.c
+++ b/Modules/zipimport.c
@@ -1195,7 +1195,7 @@ static PyObject *
get_module_code(ZipImporter *self, PyObject *fullname,
int *p_ispackage, PyObject **p_modpath)
{
- PyObject *code, *toc_entry, *subname;
+ PyObject *code = NULL, *toc_entry, *subname;
PyObject *path, *fullpath;
struct st_zip_searchorder *zso;