summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 454005e..b0d3127 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -6664,12 +6664,12 @@ assemble(struct compiler *c, int addNone)
for (basicblock *b = c->u->u_blocks; b != NULL; b = b->b_list) {
if (normalize_basic_block(b)) {
- goto error;
+ return NULL;
}
}
if (ensure_exits_have_lineno(c)) {
- goto error;
+ return NULL;
}
nblocks = 0;