summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/pgsql/pgsql.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c
index 5675e728ec..41c3b1f8ee 100644
--- a/ext/pgsql/pgsql.c
+++ b/ext/pgsql/pgsql.c
@@ -537,7 +537,6 @@ static void php_pgsql_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent)
smart_str str = {0};
zval **args[5];
int i, connect_type = 0;
- char *msgbuf;
PGresult *pg_result;
if (ZEND_NUM_ARGS() < 1 || ZEND_NUM_ARGS() > 5
@@ -1021,7 +1020,6 @@ PHP_FUNCTION(pg_query)
PGresult *pgsql_result;
ExecStatusType status;
pgsql_result_handle *pg_result;
- char *msgbuf;
switch(ZEND_NUM_ARGS()) {
case 1:
@@ -2545,7 +2543,6 @@ PHP_FUNCTION(pg_end_copy)
int id = -1;
PGconn *pgsql;
int result = 0;
- char *msgbuf;
switch(ZEND_NUM_ARGS()) {
case 0:
@@ -2586,7 +2583,6 @@ PHP_FUNCTION(pg_put_line)
int id = -1;
PGconn *pgsql;
int result = 0;
- char *msgbuf;
switch(ZEND_NUM_ARGS()) {
case 1:
@@ -2640,7 +2636,6 @@ PHP_FUNCTION(pg_copy_to)
char *csv = (char *)NULL;
int ret;
int argc = ZEND_NUM_ARGS();
- char *msgbuf;
if (zend_parse_parameters(argc TSRMLS_CC, "rs|ss",
&pgsql_link, &table_name, &table_name_len,
@@ -2751,7 +2746,6 @@ PHP_FUNCTION(pg_copy_from)
PGresult *pgsql_result;
ExecStatusType status;
int argc = ZEND_NUM_ARGS();
- char *msgbuf;
if (zend_parse_parameters(argc TSRMLS_CC, "rs/a|ss",
&pgsql_link, &table_name, &table_name_len, &pg_rows,