From: | David Rowley <drowley(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix some compiler warnings in aset.c and generation.c |
Date: | 2023-01-04 23:56:45 |
Message-ID: | E1pDDcj-0024mM-4g@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Fix some compiler warnings in aset.c and generation.c
This fixes a couple of unused variable warnings that could be seen when
compiling with MEMORY_CONTEXT_CHECKING but not USE_ASSERT_CHECKING.
Defining MEMORY_CONTEXT_CHECKING without asserts is a little unusual,
however, we shouldn't be producing any warnings from such a build.
Author: Richard Guo
Discussion: https://postgr.es/m/CAMbWs4_D-vgLEh7eO47p=73u1jWO78NWf6Qfv1FndY1kG-Q-jA@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/b82557ecc2ebbf649142740a1c5ce8d19089f620
Modified Files
--------------
src/backend/utils/mmgr/aset.c | 4 +---
src/backend/utils/mmgr/generation.c | 9 ++++++---
2 files changed, 7 insertions(+), 6 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Munro | 2023-01-05 03:11:00 | Re: pg_upgrade test failure |
Previous Message | Peter Geoghegan | 2023-01-04 21:05:33 | Re: pgsql: Delay commit status checks until freezing executes. |