Skip to content

Commit 88fc941

Browse files
committed
Suprress compiler warning in gcc 4.2.
Report by Kris Jurka
1 parent 332ea60 commit 88fc941

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/access/heapam.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/include/access/heapam.h,v 1.107 2006/03/24 04:32:13 tgl Exp $
10+
* $PostgreSQL: pgsql/src/include/access/heapam.h,v 1.108 2006/04/24 22:06:32 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -100,7 +100,7 @@ extern Datum fastgetattr(HeapTuple tup, int attnum, TupleDesc tupleDesc,
100100
( \
101101
((attnum) > (int) (tup)->t_data->t_natts) ? \
102102
( \
103-
((isnull) ? (*(isnull) = true) : (dummyret)NULL), \
103+
((isnull) != NULL) ? (*(isnull) = true) : (dummyret)NULL), \
104104
(Datum)NULL \
105105
) \
106106
: \

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy