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

From Laurenz Albe
Subject Re: BUG #18230: Redundant comparison of a local variable 'tzp' address with a NULL value at dt_common.c
Date
Msg-id 51a453dfe23d1b7f33c2d9b495a4c6eb972da61e.camel@cybertec.at
Whole thread Raw
In response to Re: BUG #18230: Redundant comparison of a local variable 'tzp' address with a NULL value at dt_common.c  (RekGRpth <rekgrpth@gmail.com>)
Responses Re: BUG #18230: Redundant comparison of a local variable 'tzp' address with a NULL value at dt_common.c
List 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 by date:

Previous
From: RekGRpth
Date:
Subject: Re: BUG #18230: Redundant comparison of a local variable 'tzp' address with a NULL value at dt_common.c
Next
From: RekGRpth
Date:
Subject: Re: BUG #18230: Redundant comparison of a local variable 'tzp' address with a NULL value at dt_common.c