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
Ответ на
Список
Дерево обсуждения
BUG #18230: Redundant comparison of a local variable 'tzp' address with a NULL value at dt_common.c PG Bug reporting form <noreply@postgresql.org>
Re: BUG #18230: Redundant comparison of a local variable 'tzp' address with a NULL value at dt_common.c Laurenz Albe <laurenz.albe@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 Laurenz Albe <laurenz.albe@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 Laurenz Albe <laurenz.albe@cybertec.at>
Re: BUG #18230: Redundant comparison of a local variable 'tzp' address with a NULL value at dt_common.c Richard Guo <guofenglinux@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>
Re: BUG #18230: Redundant comparison of a local variable 'tzp' address with a NULL value at dt_common.c Michael Paquier <michael@paquier.xyz>
Re: BUG #18230: Redundant comparison of a local variable 'tzp' address with a NULL value at dt_common.c RekGRpth <rekgrpth@gmail.com>
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 по дате отправления
FAQ