diff options
author | Robert Haas <rhaas@postgresql.org> | 2021-03-12 15:04:10 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2021-03-12 15:04:10 -0500 |
commit | ac445955852fe6bc0e02e87a409f25ab6e0a82d6 (patch) | |
tree | f99650b0a79adfdc83de8a303a8d7e3e01eedc19 /src | |
parent | 7a1527c02c147a4107490662cb1872524c54a8ae (diff) | |
download | postgresql-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.c | 2 |
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; |