pgsql: Suppress "variable 'pagesaving' set but not used" warning.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Suppress "variable 'pagesaving' set but not used" warning.
Date: 2022-04-06 21:04:04
Message-ID: E1ncCot-000dII-Hd@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/87166d25a4569ac06dc3dcf44fa8c12f0263f836

Modified Files
--------------
src/backend/access/nbtree/nbtdedup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2022-04-06 21:35:17 pgsql: pgstat: add pgstat_copy_relation_stats().
Previous Message Andres Freund 2022-04-06 20:57:57 pgsql: pgstat: stats collector references in comments.