pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: RekGRpth <rekgrpth@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18230: Redundant comparison of a local variable 'tzp' address with a NULL value at dt_common.c
Date: Wed, 06 Dec 2023 17:38:02 +0100
Message-ID: <51a453dfe23d1b7f33c2d9b495a4c6eb972da61e.camel@cybertec.at> (raw)
In-Reply-To: <CAPgh2mJJ7XrHTWSnYEb92R4PoknrqopOKDe6+795=v3q1aD6Eg@mail.gmail.com>
References: <18230-c68eb05e05cb9177@postgresql.org>
	<da26cdf3558c605244838ca899c96c8874bbe92d.camel@cybertec.at>
	<CAPgh2mJJ7XrHTWSnYEb92R4PoknrqopOKDe6+795=v3q1aD6Eg@mail.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






view thread (11+ messages)  latest in thread

Message-ID: <51a453dfe23d1b7f33c2d9b495a4c6eb972da61e.camel@cybertec.at>
Permalink:  ../51a453dfe23d1b7f33c2d9b495a4c6eb972da61e.camel@cybertec.at/
Also on:    postgresql.org/message-id/51a453dfe23d1b7f33c2d9b495a4c6eb972da61e.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: laurenz.albe@cybertec.at, rekgrpth@gmail.com
  Subject: Re: BUG #18230: Redundant comparison of a local variable 'tzp' address with a NULL value at dt_common.c
  In-Reply-To: <51a453dfe23d1b7f33c2d9b495a4c6eb972da61e.camel@cybertec.at>
  References: <18230-c68eb05e05cb9177@postgresql.org> <da26cdf3558c605244838ca899c96c8874bbe92d.camel@cybertec.at> <CAPgh2mJJ7XrHTWSnYEb92R4PoknrqopOKDe6+795=v3q1aD6Eg@mail.gmail.com> <51a453dfe23d1b7f33c2d9b495a4c6eb972da61e.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox