Re: New windows compiler warning from 585bca39 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: New windows compiler warning from 585bca39
Date
Msg-id 32359.1397765695@sss.pgh.pa.us
Whole thread Raw
In response to New windows compiler warning from 585bca39  (David Rowley <dgrowleyml@gmail.com>)
Responses Re: New windows compiler warning from 585bca39  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
David Rowley <dgrowleyml@gmail.com> writes:
> I've attached a tiny patch that fixes a new compiler warning on the windows
> build...

Applied, thanks.

> Perhaps the #ifndef could be placed in a nicer spot in the patch, but the
> attached should at least describe where the problem lies...

Yeah, I thought it better to make a separate declaration to wrap in
#ifndef.  pgindent is probably going to insist on adding some vertical
whitespace around the #if, and that'll look horrid if it's just in the
middle of a list of variables.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Clock sweep not caching enough B-Tree leaf pages?
Next
From: Steve Singer
Date:
Subject: assertion in 9.4 with wal_level=logical