From 2f5c1ae080aa7161e6262f9748d9ceb3ecd1f839 Mon Sep 17 00:00:00 2001 From: Dong-hee Na Date: Sat, 3 Jun 2023 01:00:50 +0900 Subject: [PATCH] =?UTF-8?q?gh-87092:=20avoid=20gcc=20warning=20on=20uninit?= =?UTF-8?q?ialized=20struct=20field=20in=20assemble=E2=80=A6=20(gh-105243)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 46a21809d9c094..24ecc717eff1ce 100644 --- a/Python/assemble.c +++ b/Python/assemble.c @@ -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++) {