mirror of https://github.com/python/cpython
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)
This commit is contained in:
parent
a9305b5e80
commit
2f5c1ae080
|
@ -145,6 +145,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++) {
|
||||
|
|
Loading…
Reference in New Issue