Skip to content

Commit 2f5c1ae

Browse files
authored
gh-87092: avoid gcc warning on uninitialized struct field in assemble… (gh-105243)
gh-87092: avoid gcc warning on uninitialized struct field in assemble.c (part2)
1 parent a9305b5 commit 2f5c1ae

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
@@ -145,6 +145,7 @@ assemble_exception_table(struct assembler *a, instr_sequence *instrs)
145145
int ioffset = 0;
146146
_PyCompile_ExceptHandlerInfo handler;
147147
handler.h_offset = -1;
148+
handler.h_startdepth = -1;
148149
handler.h_preserve_lasti = -1;
149150
int start = -1;
150151
for (int i = 0; i < instrs->s_used; i++) {

0 commit comments

Comments
 (0)