diff options
Diffstat (limited to 'Python/compile.c')
-rw-r--r-- | Python/compile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c index 74c21fd..59f8896 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -8554,6 +8554,8 @@ assemble(struct compiler *c, int addNone) { PyCodeObject *co = NULL; PyObject *consts = NULL; + struct assembler a; + memset(&a, 0, sizeof(struct assembler)); int code_flags = compute_code_flags(c); if (code_flags < 0) { @@ -8683,7 +8685,6 @@ assemble(struct compiler *c, int addNone) /* Create assembler */ - struct assembler a; if (!assemble_init(&a, c->u->u_firstlineno)) goto error; |