We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21cbdae commit be82d26Copy full SHA for be82d26
Python/compile.c
@@ -8554,6 +8554,8 @@ assemble(struct compiler *c, int addNone)
8554
{
8555
PyCodeObject *co = NULL;
8556
PyObject *consts = NULL;
8557
+ struct assembler a;
8558
+ memset(&a, 0, sizeof(struct assembler));
8559
8560
int code_flags = compute_code_flags(c);
8561
if (code_flags < 0) {
@@ -8683,7 +8685,6 @@ assemble(struct compiler *c, int addNone)
8683
8685
8684
8686
8687
/* Create assembler */
- struct assembler a;
8688
if (!assemble_init(&a, c->u->u_firstlineno))
8689
goto error;
8690
0 commit comments