Re: warning in code while building on windows

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: warning in code while building on windows
Date: 2013-08-18 21:08:49
Message-ID: 20130818210849.GA9264@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Amit Kapila escribió:
> 1>.\src\backend\utils\cache\relfilenodemap.c(213) : warning C4101:
> 'isnull' : unreferenced local variable
>
> It seems this variable is used only under macro USE_ASSERT_CHECKING,
> so it is better to declare under this macro only.

We have a macro for this, PG_USED_FOR_ASSERTS_ONLY. This should silence
it; if the msvc stuff is not picking it up then maybe we need to tweak
the definition of the macro somehow.

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2013-08-18 21:28:35 Re: Materialized views WIP patch
Previous Message Dimitri Fontaine 2013-08-18 20:20:47 Re: Feature Request on Extensions