Re: Compiler warning in master branch

From: Kevin Grittner <kgrittn(at)ymail(dot)com>
To: David Rowley <dgrowleyml(at)gmail(dot)com>, Peter Geoghegan <pg(at)heroku(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Subject: Re: Compiler warning in master branch
Date: 2014-11-10 15:48:16
Message-ID: 1415634496.37896.YahooMailNeo@web122303.mail.ne1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

David Rowley <dgrowleyml(at)gmail(dot)com> wrote:> On Mon, Nov 10, 2014 at 4:31 PM, Peter Geoghegan <pg(at)heroku(dot)com> wrote:

>> I see this when I build at -O2 from master's tip:

>> brin_revmap.c: In function ‘brinRevmapExtend’:
>> brin_revmap.c:113:14: error: variable ‘mapBlk’ set but not used
>> [-Werror=unused-but-set-variable]
>> BlockNumber mapBlk;
>> ^

> It would appear just to need the attached.

Confirmed and pushed.

Thanks to both of you!

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2014-11-10 15:57:16 using custom scan nodes to prototype parallel sequential scan
Previous Message Andrew Dunstan 2014-11-10 15:30:53 Re: row_to_json bug with index only scans: empty keys!