summaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorBruce Momjian2008-05-14 15:16:27 +0000
committerBruce Momjian2008-05-14 15:16:27 +0000
commit210faf2d5fa98f1f60d2a3c527907e00bf3fd874 (patch)
treeb9b13312536b83c7da690fce5b5493eac1b30565 /src/interfaces
parent9bf1db04c0acb50ceb3cddf531b67abb1aaf0c14 (diff)
Fix a few warnings that have crept into CVS HEAD.
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/ecpg/ecpglib/prepare.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/ecpglib/prepare.c b/src/interfaces/ecpg/ecpglib/prepare.c
index efe8e4c3f51..6ddda4e9edd 100644
--- a/src/interfaces/ecpg/ecpglib/prepare.c
+++ b/src/interfaces/ecpg/ecpglib/prepare.c
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/prepare.c,v 1.27 2008/05/12 16:29:04 meskes Exp $ */
+/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/prepare.c,v 1.28 2008/05/14 15:16:27 momjian Exp $ */
#define POSTGRES_ECPG_INTERNAL
#include "postgres_fe.h"
@@ -117,7 +117,6 @@ ECPGprepare(int lineno, const char *connection_name, const int questionmarks, co
struct statement *stmt;
struct prepared_statement *this,
*prev;
- struct sqlca_t *sqlca = ECPGget_sqlca();
PGresult *query;
con = ecpg_get_connection(connection_name);