agora inbox for pgsql-committers@postgresql.orghelp / color / mirror / Atom feed
pgsql: Silence warnings about unused global variables 7+ messages / 1 participants [nested] [flat]
* pgsql: Silence warnings about unused global variables @ 2026-09-22 18:02 Peter Eisentraut <peter@eisentraut.org> 0 siblings, 0 replies; 7+ messages in thread From: Peter Eisentraut @ 2026-09-22 18:02 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Silence warnings about unused global variables Similar to commit "Remove unused global variables", silence -Wunused-but-set-global warnings from clang 23 (included in -Wall). These are variables that are used in assert-enabled builds only, so annotate them with PG_USED_FOR_ASSERTS_ONLY. Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/802bf7cbfc6f176cd5198321417eb737b0fd4442 Modified Files -------------- src/backend/utils/cache/syscache.c | 2 +- src/test/modules/test_resowner/test_resowner_many.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Silence warnings about unused global variables @ 2026-09-22 18:02 Peter Eisentraut <peter@eisentraut.org> 0 siblings, 0 replies; 7+ messages in thread From: Peter Eisentraut @ 2026-09-22 18:02 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Silence warnings about unused global variables Similar to commit "Remove unused global variables", silence -Wunused-but-set-global warnings from clang 23 (included in -Wall). These are variables that are used in assert-enabled builds only, so annotate them with PG_USED_FOR_ASSERTS_ONLY. Branch ------ REL_19_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/f13dbbf753524fe2421e310d0b5a3e85fb38ab5e Modified Files -------------- src/backend/utils/cache/syscache.c | 2 +- src/test/modules/test_resowner/test_resowner_many.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Silence warnings about unused global variables @ 2026-09-22 18:02 Peter Eisentraut <peter@eisentraut.org> 0 siblings, 0 replies; 7+ messages in thread From: Peter Eisentraut @ 2026-09-22 18:02 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Silence warnings about unused global variables Similar to commit "Remove unused global variables", silence -Wunused-but-set-global warnings from clang 23 (included in -Wall). These are variables that are used in assert-enabled builds only, so annotate them with PG_USED_FOR_ASSERTS_ONLY. Branch ------ REL_18_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/b28c6c443e4001708e8f6d38f0868ac239452caa Modified Files -------------- src/backend/utils/cache/syscache.c | 2 +- src/test/modules/test_resowner/test_resowner_many.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Silence warnings about unused global variables @ 2026-09-22 18:02 Peter Eisentraut <peter@eisentraut.org> 0 siblings, 0 replies; 7+ messages in thread From: Peter Eisentraut @ 2026-09-22 18:02 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Silence warnings about unused global variables Similar to commit "Remove unused global variables", silence -Wunused-but-set-global warnings from clang 23 (included in -Wall). These are variables that are used in assert-enabled builds only, so annotate them with PG_USED_FOR_ASSERTS_ONLY. Branch ------ REL_17_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/8e183d9bd49a78c0d0647230202ccc710ebcd06b Modified Files -------------- src/backend/utils/cache/syscache.c | 2 +- src/test/modules/test_resowner/test_resowner_many.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Silence warnings about unused global variables @ 2026-09-22 18:02 Peter Eisentraut <peter@eisentraut.org> 0 siblings, 0 replies; 7+ messages in thread From: Peter Eisentraut @ 2026-09-22 18:02 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Silence warnings about unused global variables Similar to commit "Remove unused global variables", silence -Wunused-but-set-global warnings from clang 23 (included in -Wall). These are variables that are used in assert-enabled builds only, so annotate them with PG_USED_FOR_ASSERTS_ONLY. Branch ------ REL_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/6b0b630b9fe28c94e640c0e49751923f405d3bdf Modified Files -------------- src/backend/utils/cache/syscache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Silence warnings about unused global variables @ 2026-09-22 18:02 Peter Eisentraut <peter@eisentraut.org> 0 siblings, 0 replies; 7+ messages in thread From: Peter Eisentraut @ 2026-09-22 18:02 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Silence warnings about unused global variables Similar to commit "Remove unused global variables", silence -Wunused-but-set-global warnings from clang 23 (included in -Wall). These are variables that are used in assert-enabled builds only, so annotate them with PG_USED_FOR_ASSERTS_ONLY. Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/9dc7554abe4c7a545c9546ee61dfc53a21cbb454 Modified Files -------------- src/backend/utils/cache/syscache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Silence warnings about unused global variables @ 2026-09-22 18:02 Peter Eisentraut <peter@eisentraut.org> 0 siblings, 0 replies; 7+ messages in thread From: Peter Eisentraut @ 2026-09-22 18:02 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Silence warnings about unused global variables Similar to commit "Remove unused global variables", silence -Wunused-but-set-global warnings from clang 23 (included in -Wall). These are variables that are used in assert-enabled builds only, so annotate them with PG_USED_FOR_ASSERTS_ONLY. Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/5d17c0c02f3074a8273e020e3b9ffa4a41bea325 Modified Files -------------- src/backend/utils/cache/syscache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2026-09-22 18:02 UTC | newest] Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-09-22 18:02 pgsql: Silence warnings about unused global variables Peter Eisentraut <peter@eisentraut.org> 2026-09-22 18:02 pgsql: Silence warnings about unused global variables Peter Eisentraut <peter@eisentraut.org> 2026-09-22 18:02 pgsql: Silence warnings about unused global variables Peter Eisentraut <peter@eisentraut.org> 2026-09-22 18:02 pgsql: Silence warnings about unused global variables Peter Eisentraut <peter@eisentraut.org> 2026-09-22 18:02 pgsql: Silence warnings about unused global variables Peter Eisentraut <peter@eisentraut.org> 2026-09-22 18:02 pgsql: Silence warnings about unused global variables Peter Eisentraut <peter@eisentraut.org> 2026-09-22 18:02 pgsql: Silence warnings about unused global variables Peter Eisentraut <peter@eisentraut.org>
This inbox is served by agora; see mirroring instructions for how to clone and mirror all data and code used for this inbox