Jeff Janes <jeff.janes@gmail.com> wrote:
> Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
>>
>> So here's v11. I intend to commit this shortly. (I wanted to get it
>> out before lunch, but I introduced a silly bug that took me a bit to
>> fix.)
>
> On Windows with Mingw I get this:
>
> pgstat.c:4389:8: warning: variable 'found' set but not used
> [-Wunused-but-set-variable]
>
> I don't get that on Linux, but I bet that is just the gcc version
> (4.6.2 vs 4.4.6) rather than the OS.
I get it on Linux with gcc version 4.7.2.
> It looks like it is just a useless variable
Agreed.
--
Kevin Grittner
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company