bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug#54764: encode-time: make DST and TIMEZONE fields of the list arg


From: Bernhard Voelker
Subject: Re: bug#54764: encode-time: make DST and TIMEZONE fields of the list argument optional ones
Date: Tue, 3 May 2022 21:57:18 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1

On 5/2/22 19:04, Paul Eggert wrote:
> 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.

Thanks!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]