From 1c1dad29ad8a15615f32689f567c283142163e2e Mon Sep 17 00:00:00 2001 From: Pip Cet Date: Mon, 5 Aug 2024 21:58:16 +0000 Subject: [PATCH] Avoid compiler warning * src/timefns.c (Fdecode_time): Use 'UNINIT' to avoid a warning with gcc 14 and checking enabled. (cherry picked from commit 0822d0c1cdd0f107c2090016ab528a5279c50756) --- src/timefns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timefns.c b/src/timefns.c index 7d8ecd36407..9685b8a50d9 100644 --- a/src/timefns.c +++ b/src/timefns.c @@ -1555,7 +1555,7 @@ usage: (decode-time &optional TIME ZONE FORM) */) if HZ != 1 also set TH.ticks. */ time_t time_spec; Lisp_Object hz; - struct ticks_hz th; + struct ticks_hz th UNINIT; if (EQ (form, Qt)) { th = decode_lisp_time (specified_time, CFORM_TICKS_HZ).th; -- 2.39.2