Skip to content

Commit 28e4d44

Browse files
committed
pythongh-87092: avoid gcc warning on uninitialized struct field in assemble.c (part2)
1 parent f90d3f6 commit 28e4d44

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Python/assemble.c

+1
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ assemble_exception_table(struct assembler *a, instr_sequence *instrs)
146146
int ioffset = 0;
147147
_PyCompile_ExceptHandlerInfo handler;
148148
handler.h_offset = -1;
149+
handler.h_startdepth = -1;
149150
handler.h_preserve_lasti = -1;
150151
int start = -1;
151152
for (int i = 0; i < instrs->s_used; i++) {

0 commit comments

Comments
 (0)