From fc470ca334f4c4007a968e66c32b1e2039276dcb Mon Sep 17 00:00:00 2001 From: Neil Conway Date: Tue, 2 Oct 2007 22:01:02 +0000 Subject: [PATCH] Fix a compiler warning on Win32. Hannes Eder. --- src/interfaces/libpq/fe-secure.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interfaces/libpq/fe-secure.c b/src/interfaces/libpq/fe-secure.c index 27e4efa641..4ab25ac59d 100644 --- a/src/interfaces/libpq/fe-secure.c +++ b/src/interfaces/libpq/fe-secure.c @@ -11,7 +11,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.96 2007/10/02 00:25:20 tgl Exp $ + * $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.97 2007/10/02 22:01:02 neilc Exp $ * * NOTES * [ Most of these notes are wrong/obsolete, but perhaps not all ] @@ -588,9 +588,9 @@ client_cert_cb(SSL *ssl, X509 **x509, EVP_PKEY **pkey) #ifndef WIN32 struct stat buf2; + FILE *fp; #endif char fnbuf[MAXPGPATH]; - FILE *fp; BIO *bio; PGconn *conn = (PGconn *) SSL_get_app_data(ssl); char sebuf[256];