[PATCH] gcc warning 'expression which evaluates to zero treated as anull pointer' - Mailing list pgsql-hackers

From didier
Subject [PATCH] gcc warning 'expression which evaluates to zero treated as anull pointer'
Date
Msg-id CAJRYxu+XQuM0qnSqt1Ujztu6fBPzMMAT3VEn6W32rgKG6A2Fsw@mail.gmail.com
Whole thread Raw
Responses Re: [PATCH] gcc warning 'expression which evaluates to zero treated as a null pointer'
List pgsql-hackers
Hi,
Trivial patch:
- remove a gcc warning (since commit 7a0574b5)
expression which evaluates to zero treated as a null pointer constant of
      type 'HeapTuple' (aka 'struct HeapTupleData *')

- always use "if (newtuple == NULL)" rather than mixing !newtuple and
newtuple == NULL

Regards
Didier

Attachment

pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: [HACKERS] Block level parallel vacuum
Next
From: Amit Kapila
Date:
Subject: Re: [HACKERS] Block level parallel vacuum