On Tue, Apr 28, 2015 at 12:47 PM, Jeff Janes <jeff(dot)janes(at)gmail(dot)com> wrote:
> This commit is causing a compiler warning for me in non-cassert builds:
>
> funcapi.c: In function 'get_func_trftypes':
> funcapi.c:890: warning: unused variable 'procStruct'
>
> Adding PG_USED_FOR_ASSERTS_ONLY seems to fix it.
I took a stab at fixing this via a slightly different method. Let me
know whether that worked.
Thanks,
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company