a2e35b53 added unused variable to ConversionCreate()

From: Peter Geoghegan <pg(at)heroku(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: a2e35b53 added unused variable to ConversionCreate()
Date: 2015-03-05 00:50:30
Message-ID: CAM3SWZS17HZ7ZUVGbsKLrd4unENnxto6dExe9cUdM_4n_D_r9g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I'm seeing this on a the master branch tip when building at -O2:

pg_conversion.c: In function ‘ConversionCreate’:
pg_conversion.c:53:6: error: variable ‘oid’ set but not used
[-Werror=unused-but-set-variable]
Oid oid;
^
cc1: all warnings being treated as errors

I think that commit a2e35b53 did this.

--
Peter Geoghegan

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan de Visser 2015-03-05 01:13:27 Re: Idea: closing the loop for "pg_ctl reload"
Previous Message Bruce Momjian 2015-03-05 00:15:15 Re: MD5 authentication needs help