a2e35b53 added unused variable to ConversionCreate() - Mailing list pgsql-hackers

From Peter Geoghegan
Subject a2e35b53 added unused variable to ConversionCreate()
Date
Msg-id CAM3SWZS17HZ7ZUVGbsKLrd4unENnxto6dExe9cUdM_4n_D_r9g@mail.gmail.com
Whole thread Raw
Responses Re: a2e35b53 added unused variable to ConversionCreate()  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List 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



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: MD5 authentication needs help
Next
From: Jan de Visser
Date:
Subject: Re: Idea: closing the loop for "pg_ctl reload"