[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 0822d0c1cdd 3/3: Avoid compiler warning
From: |
Pip Cet |
Subject: |
master 0822d0c1cdd 3/3: Avoid compiler warning |
Date: |
Mon, 5 Aug 2024 18:08:56 -0400 (EDT) |
branch: master
commit 0822d0c1cdd0f107c2090016ab528a5279c50756
Author: Pip Cet <pipcet@protonmail.com>
Commit: Pip Cet <pipcet@protonmail.com>
Avoid compiler warning
* src/timefns.c (Fdecode_time): Use 'UNINIT' to avoid a warning with
gcc 14 and checking enabled.
---
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;