Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5bbea03

Browse files
committed
Suppress more compiler warnings caused by macro tests.
1 parent7384e95 commit5bbea03

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/include/access/heapam.h

Lines changed: 3 additions & 3 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.109 2006/04/24 22:17:04 momjian Exp $
10+
* $PostgreSQL: pgsql/src/include/access/heapam.h,v 1.110 2006/04/24 22:24:58 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -45,7 +45,7 @@
4545
#definefastgetattr(tup,attnum,tupleDesc,isnull)\
4646
(\
4747
AssertMacro((attnum) > 0),\
48-
((isnull) ? (*(isnull) = false) : (dummyret)NULL),\
48+
(((isnull) != NULL) ? (*(isnull) = false) : (dummyret)NULL),\
4949
HeapTupleNoNulls(tup) ?\
5050
(\
5151
(tupleDesc)->attrs[(attnum)-1]->attcacheoff >= 0 ?\
@@ -61,7 +61,7 @@
6161
(\
6262
att_isnull((attnum)-1, (tup)->t_data->t_bits) ?\
6363
(\
64-
((isnull) ? (*(isnull) = true) : (dummyret)NULL),\
64+
(((isnull) != NULL) ? (*(isnull) = true) : (dummyret)NULL),\
6565
(Datum)NULL\
6666
)\
6767
:\

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp