aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-04-24 22:06:32 +0000
committerBruce Momjian <bruce@momjian.us>2006-04-24 22:06:32 +0000
commit88fc9413558ad13a85804f077e6e0b62c71dd13f (patch)
treef4fac1ad361bf39f38542eb1322ab7dd46926512 /src
parent332ea60d2378ef8d567c93502fa7b95eccd962e5 (diff)
downloadpostgresql-88fc9413558ad13a85804f077e6e0b62c71dd13f.tar.gz
postgresql-88fc9413558ad13a85804f077e6e0b62c71dd13f.zip
Suprress compiler warning in gcc 4.2.
Report by Kris Jurka
Diffstat (limited to 'src')
-rw-r--r--src/include/access/heapam.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/access/heapam.h b/src/include/access/heapam.h
index cfa23c0f27a..fdcdda77097 100644
--- a/src/include/access/heapam.h
+++ b/src/include/access/heapam.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/access/heapam.h,v 1.107 2006/03/24 04:32:13 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/access/heapam.h,v 1.108 2006/04/24 22:06:32 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -100,7 +100,7 @@ extern Datum fastgetattr(HeapTuple tup, int attnum, TupleDesc tupleDesc,
( \
((attnum) > (int) (tup)->t_data->t_natts) ? \
( \
- ((isnull) ? (*(isnull) = true) : (dummyret)NULL), \
+ ((isnull) != NULL) ? (*(isnull) = true) : (dummyret)NULL), \
(Datum)NULL \
) \
: \