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

Commit71e006f

Browse files
committed
Suppress compiler warnings in non-cassert builds.
With Asserts off, these variables are set but never used, resultingin warnings from pickier compilers. Fix that with our standard solution.Per report from Jeff Janes.
1 parent32909a5 commit71e006f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/backend/access/gist/gistutil.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ gistproperty(Oid index_oid, int attno,
852852
bool*res,bool*isnull)
853853
{
854854
HeapTupletuple;
855-
Form_pg_indexrd_index;
855+
Form_pg_indexrd_indexPG_USED_FOR_ASSERTS_ONLY;
856856
Form_pg_opclassrd_opclass;
857857
Datumdatum;
858858
booldisnull;

‎src/backend/utils/adt/amutils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ test_indoption(Oid relid, int attno, bool guard,
115115
bool*res)
116116
{
117117
HeapTupletuple;
118-
Form_pg_indexrd_index;
118+
Form_pg_indexrd_indexPG_USED_FOR_ASSERTS_ONLY;
119119
Datumdatum;
120120
boolisnull;
121121
int2vector*indoption;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp