Re: new compiler warnings

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Andrew Dunstan" <andrew(at)dunslane(dot)net>, "Robert Haas" <robertmhaas(at)gmail(dot)com>, "Peter Eisentraut" <peter_e(at)gmx(dot)net>,<pgsql(at)j-davis(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: new compiler warnings
Date: 2011-10-18 21:44:47
Message-ID: 4E9DACFF02000025000421EF@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> As far as getting rid of the compiler warning is concerned, I find
> that the
>
> rc = write(...);
> (void) rc;
>
> suggestion works for me (gcc 4.6.1).

That silences the warning on my machine, too.

-Kevin

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-10-18 21:52:30 Re: new compiler warnings
Previous Message Tom Lane 2011-10-18 21:25:05 Re: new compiler warnings