On 3/14/18 14:28, Tom Lane wrote:
> Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
>> On 3/14/18 12:45, Erik Rijkers wrote:
>>> pl_exec.c: In function ‘exec_stmt_call’:
>>> pl_exec.c:2089:10: warning: variable ‘numargs’ set but not used
>>> [-Wunused-but-set-variable]
>
>> I don't get that, and buildfarm animals of similar configuration don't
>> either. Are you using a nonstandard configuration perhaps?
>
> Not using --enable-cassert, evidently. You need to add
> PG_USED_FOR_ASSERTS_ONLY.
OK, fixed.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services