pgsql: Suppress platform-dependent unused-variable warning.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Suppress platform-dependent unused-variable warning.
Date: 2011-03-20 17:35:00
Message-ID: E1Q1MWq-0004ng-ND@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Suppress platform-dependent unused-variable warning.

The local variable "sock" can be unused depending on compilation flags.
But there seems no particular need for it, since the kernel calls can
just as easily say port->sock instead.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/82e4d45bd0ba9c07b8a97f28f939db6d8d564f9a

Modified Files
--------------
src/backend/libpq/auth.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2011-03-20 18:36:01 pgsql: Add some platform-independent tests for the collation feature.
Previous Message Tom Lane 2011-03-20 16:44:25 pgsql: Fix up handling of C/POSIX collations.