summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 6d800b2..70a754b 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -8299,6 +8299,7 @@ assemble(struct compiler *c, int addNone)
int j, nblocks;
PyCodeObject *co = NULL;
PyObject *consts = NULL;
+ memset(&a, 0, sizeof(struct assembler));
/* Make sure every block that falls off the end returns None. */
if (!c->u->u_curblock->b_return) {