Re: Compiler warning in master branch - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: Compiler warning in master branch
Date
Msg-id 1415634496.37896.YahooMailNeo@web122303.mail.ne1.yahoo.com
Whole thread Raw
In response to Re: Compiler warning in master branch  (David Rowley <dgrowleyml@gmail.com>)
List pgsql-hackers
David Rowley <dgrowleyml@gmail.com> wrote:> On Mon, Nov 10, 2014 at 4:31 PM, Peter Geoghegan <pg@heroku.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



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: row_to_json bug with index only scans: empty keys!
Next
From: Robert Haas
Date:
Subject: using custom scan nodes to prototype parallel sequential scan