From 28e4d4433c3cb781d1a4a0f1a39fe6fa06688a36 Mon Sep 17 00:00:00 2001 From: Dong-hee Na Date: Sat, 3 Jun 2023 00:26:45 +0900 Subject: [PATCH] gh-87092: avoid gcc warning on uninitialized struct field in assemble.c (part2) --- Python/assemble.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Python/assemble.c b/Python/assemble.c index 8789d8ef978c22..6ef7a0be8e90ed 100644 --- a/Python/assemble.c +++ b/Python/assemble.c @@ -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++) {