From ad12fe8de0fefac092b30bd0853df5a247898d44 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sun, 13 Mar 2022 11:30:49 -0700 Subject: [PATCH] spv-light-decoder: Avoid GCC 11.x warning in decode_spvlb_halign(). It seems to be wrong, but GCC can't tell and it's hard to blame it. --- src/output/spv/spv-light-decoder.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/output/spv/spv-light-decoder.c b/src/output/spv/spv-light-decoder.c index f1f3dba960..f8c4f618b2 100644 --- a/src/output/spv/spv-light-decoder.c +++ b/src/output/spv/spv-light-decoder.c @@ -170,6 +170,7 @@ decode_spvlb_halign (uint32_t in, enum table_halign *halignp) return NULL; default: + *halignp = 0; return xasprintf ("bad cell style halign %"PRIu32, in); } } -- 2.30.2