From: Pip Cet Date: Mon, 5 Aug 2024 21:58:16 +0000 (+0000) Subject: Avoid compiler warning X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1c1dad29ad8a15615f32689f567c283142163e2e;p=emacs.git 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) --- 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;