Skip to content

Commit ac44595

Browse files
committed
Move PG_USED_FOR_ASSERTS_ONLY before initializer.
Erik Rijkers reported a compile failure, and I think this is probably the reason.
1 parent 7a1527c commit ac44595

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_amcheck/pg_amcheck.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2058,7 +2058,7 @@ compile_relation_list_one_db(PGconn *conn, SimplePtrList *relations,
20582058
{
20592059
int pattern_id = -1;
20602060
bool is_heap = false;
2061-
bool is_btree = false PG_USED_FOR_ASSERTS_ONLY;
2061+
bool is_btree PG_USED_FOR_ASSERTS_ONLY = false;
20622062
Oid oid = InvalidOid;
20632063
const char *nspname = NULL;
20642064
const char *relname = NULL;

0 commit comments

Comments
 (0)