Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Commit

Permalink
Silence a performance warning from the VC++ compiler.
Browse files Browse the repository at this point in the history
  • Loading branch information
dpage committed Jul 18, 2010
1 parent f628b52 commit 09541af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgadmin/include/db/pgConn.h
Expand Up @@ -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);
Expand Down

0 comments on commit 09541af

Please sign in to comment.