Skip to content

Commit

Permalink
pythongh-87092: avoid gcc warning on uninitialized struct field in as…
Browse files Browse the repository at this point in the history
…semble.c (part2)
  • Loading branch information
corona10 committed Jun 2, 2023
1 parent f90d3f6 commit 28e4d44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Python/assemble.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ assemble_exception_table(struct assembler *a, instr_sequence *instrs)
int ioffset = 0;
_PyCompile_ExceptHandlerInfo handler;
handler.h_offset = -1;
handler.h_startdepth = -1;
handler.h_preserve_lasti = -1;
int start = -1;
for (int i = 0; i < instrs->s_used; i++) {
Expand Down

0 comments on commit 28e4d44

Please sign in to comment.