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

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: BUG #18230: Redundant comparison of a local variable 'tzp' address with a NULL value at dt_common.c
Дата
Msg-id 51a453dfe23d1b7f33c2d9b495a4c6eb972da61e.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: BUG #18230: Redundant comparison of a local variable 'tzp' address with a NULL value at dt_common.c  (RekGRpth <rekgrpth@gmail.com>)
Ответы Re: BUG #18230: Redundant comparison of a local variable 'tzp' address with a NULL value at dt_common.c  (RekGRpth <rekgrpth@gmail.com>)
Список pgsql-bugs
On Wed, 2023-12-06 at 19:44 +0500, RekGRpth wrote:
> something like?

Yes, perhaps - although the variable name "tzp" = "time zone pointer"
is not appropriate any more.

Perhaps the "tzp" variable could be left as it is, and only the
comparisons "if (tzp == NULL)" be removed.

Yours,
Laurenz Albe




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

Предыдущее
От: RekGRpth
Дата:
Сообщение: 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