mirror of
https://github.com/postgres/postgres.git
synced 2026-04-15 22:10:45 -04:00
Suppress "variable 'pagesaving' set but not used" warning.
With asserts disabled, late-model clang notices that this variable is incremented but never otherwise read. Discussion: https://postgr.es/m/3171401.1649275153@sss.pgh.pa.us
This commit is contained in:
parent
9a7229948c
commit
a65747b1c7
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ _bt_dedup_pass(Relation rel, Buffer buf, Relation heapRel, IndexTuple newitem,
|
|||
BTPageOpaque opaque = (BTPageOpaque) PageGetSpecialPointer(page);
|
||||
Page newpage;
|
||||
BTDedupState state;
|
||||
Size pagesaving = 0;
|
||||
Size pagesaving PG_USED_FOR_ASSERTS_ONLY = 0;
|
||||
bool singlevalstrat = false;
|
||||
int nkeyatts = IndexRelationGetNumberOfKeyAttributes(rel);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue