pgsql: Silence warning in non-assert-enabled build

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Silence warning in non-assert-enabled build
Date: 2015-03-05 19:13:03
Message-ID: E1YTbCh-0000K7-EX@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Silence warning in non-assert-enabled build

An OID return value was being used only for a (rather pointless) assert.
Silence by removing the variable and the assert.

Per note from Peter Geoghegan

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/bf22d2707a2f47a7cc4caa239a14f2bf0a72bfd0

Modified Files
--------------
src/backend/catalog/pg_conversion.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2015-03-05 21:03:45 pgsql: Fix user mapping object description
Previous Message Tom Lane 2015-03-05 18:16:33 pgsql: Remove comment claiming that PARAM_EXTERN Params always have typ