Re: minor compiler warning in libpg/fe-secure.c on win32 (msvc)

Lists: pgsql-hackerspgsql-patches
From: Hannes Eder <Hannes(at)HannesEder(dot)net>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, pgsql-patches <pgsql-patches(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: minor compiler warning in libpg/fe-secure.c on win32 (msvc)
Date: 2007-10-02 21:45:51
Message-ID: 4702BC0F.20803@HannesEder.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers pgsql-patches

Hi,

while rebuilding the entire project I ran across following warning:

.\src\interfaces\libpq\fe-secure.c(593): warning C4101: 'fp' :
unreferenced local variable

see attached diff for a fix.

-Hannes

Attachment Content-Type Size
fe-secure.c-200710021.diff text/x-diff 549 bytes

From: Neil Conway <neilc(at)samurai(dot)com>
To: Hannes Eder <Hannes(at)HannesEder(dot)net>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, pgsql-patches <pgsql-patches(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: minor compiler warning in libpg/fe-secure.c on win32 (msvc)
Date: 2007-10-02 22:18:00
Message-ID: 1191363480.6303.10.camel@goldbach
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers pgsql-patches

On Tue, 2007-10-02 at 23:45 +0200, Hannes Eder wrote:
> while rebuilding the entire project I ran across following warning:
>
> .\src\interfaces\libpq\fe-secure.c(593): warning C4101: 'fp' :
> unreferenced local variable

Applied, thanks.

BTW, CC'ing hackers is not necessary for trivial patches like this.

-Neil