Re: BUG #18230: Redundant comparison of a local variable 'tzp' address with a NULL value at dt_common.c

Поиск
Список
Период
Сортировка
От RekGRpth
Тема Re: BUG #18230: Redundant comparison of a local variable 'tzp' address with a NULL value at dt_common.c
Дата
Msg-id CAPgh2mKNpTfMJ7G3QF_cxLDsvQzMDGc2-XoL41oajt5VgO5ZNA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #18230: Redundant comparison of a local variable 'tzp' address with a NULL value at dt_common.c  (Richard Guo <guofenglinux@gmail.com>)
Список pgsql-bugs
Fixed!


чт, 7 дек. 2023 г. в 06:52, Richard Guo <guofenglinux@gmail.com>:
>
>
> On Thu, Dec 7, 2023 at 12:41 AM RekGRpth <rekgrpth@gmail.com> wrote:
>>
>> Fixed!
>
>
> Nice catch.
>
> There are several places in DecodeDateTime() where the value of '*tzp'
> is changed.  It seems to me that these assignments are unnecessary since
> the value of '*tzp' is not utilized anywhere in the code.  Can we also
> remove these assignments?
>
> Thanks
> Richard

Вложения

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Richard Guo
Дата:
Сообщение: Re: BUG #18230: Redundant comparison of a local variable 'tzp' address with a NULL value at dt_common.c
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #18230: Redundant comparison of a local variable 'tzp' address with a NULL value at dt_common.c