|
From: | Paul Eggert |
Subject: | Re: bug#54764: encode-time: make DST and TIMEZONE fields of the list argument optional ones |
Date: | Mon, 2 May 2022 10:04:02 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 |
On 4/23/22 07:35, Bernhard Voelker wrote:
lib/gettime-res.c:77:46: error: 'earlier.tv_sec' may be used uninitialized in this function \ [-Werror=maybe-uninitialized]
Thanks for reporting that. Although the unnecessary initialization is annoying, this time I'm not annoyed enough to complicate the code to pacify GCC, so I installed the attached which follows your suggestion.
This patch also lets GCC know that the numbers in question are all positive which I suppose might help code generation. It also replaces a U+00B5 MICRO SIGN with the recommended U+03BC GREEK SMALL LETTER MU.
0001-gettime-res-help-the-compiler.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |