aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2021-03-12 15:04:10 -0500
committerRobert Haas <rhaas@postgresql.org>2021-03-12 15:04:10 -0500
commitac445955852fe6bc0e02e87a409f25ab6e0a82d6 (patch)
treef99650b0a79adfdc83de8a303a8d7e3e01eedc19 /src
parent7a1527c02c147a4107490662cb1872524c54a8ae (diff)
downloadpostgresql-ac445955852fe6bc0e02e87a409f25ab6e0a82d6.tar.gz
postgresql-ac445955852fe6bc0e02e87a409f25ab6e0a82d6.zip
Move PG_USED_FOR_ASSERTS_ONLY before initializer.
Erik Rijkers reported a compile failure, and I think this is probably the reason.
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_amcheck/pg_amcheck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_amcheck/pg_amcheck.c b/src/bin/pg_amcheck/pg_amcheck.c
index bbad22e7a15..008a75d207e 100644
--- a/src/bin/pg_amcheck/pg_amcheck.c
+++ b/src/bin/pg_amcheck/pg_amcheck.c
@@ -2058,7 +2058,7 @@ compile_relation_list_one_db(PGconn *conn, SimplePtrList *relations,
{
int pattern_id = -1;
bool is_heap = false;
- bool is_btree = false PG_USED_FOR_ASSERTS_ONLY;
+ bool is_btree PG_USED_FOR_ASSERTS_ONLY = false;
Oid oid = InvalidOid;
const char *nspname = NULL;
const char *relname = NULL;