From 09541af7707f1ac930e91d0e34dee9c2e37598de Mon Sep 17 00:00:00 2001 From: Dave Page Date: Sun, 18 Jul 2010 19:40:46 +0100 Subject: [PATCH] Silence a performance warning from the VC++ compiler. --- pgadmin/include/db/pgConn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgadmin/include/db/pgConn.h b/pgadmin/include/db/pgConn.h index 9a8f61d25e..9ee7c27c9e 100644 --- a/pgadmin/include/db/pgConn.h +++ b/pgadmin/include/db/pgConn.h @@ -101,7 +101,7 @@ class pgConn static void ExamineLibpqVersion(); static double GetLibpqVersion() { return libpqVersion; } - static bool IsValidServerEncoding(int encid) { return pg_valid_server_encoding_id(encid); } + static bool IsValidServerEncoding(int encid) { return pg_valid_server_encoding_id(encid) ? true : false; } void Close(); bool ExecuteVoid(const wxString& sql, bool reportError = true);