Re: unused-but-set-variable warning on REL_13_STABLE - Mailing list pgsql-hackers

From Tom Lane
Subject Re: unused-but-set-variable warning on REL_13_STABLE
Date
Msg-id 4113325.1733773170@sss.pgh.pa.us
Whole thread Raw
Responses Re: unused-but-set-variable warning on REL_13_STABLE
List pgsql-hackers
Nathan Bossart <nathandbossart@gmail.com> writes:
> Adding PG_USED_FOR_ASSERTS_ONLY (as in the attached patch) seems sufficient
> to suppress this warning.  On newer versions, this variable is used for
> more than assertions, so the patch only needs to be applied to v13.  Since
> this is trivial, I plan to commit it shortly.

LGTM

            regards, tom lane



pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: Fix tiny memory leaks
Next
From: Nathan Bossart
Date:
Subject: Re: Remove dependence on integer wrapping