summaryrefslogtreecommitdiff
path: root/ext/pgsql
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-12-07 18:39:09 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-12-07 18:39:09 +0000
commit669b421c11f6e9a976c296ba1ddfb7fb70c6b43e (patch)
treee200418104b455a9a3ca62856356144e02192b53 /ext/pgsql
parent36b255fa667e9cb0cccc7a59e6c65bc76fcb69df (diff)
downloadphp-git-669b421c11f6e9a976c296ba1ddfb7fb70c6b43e.tar.gz
Removed unused variable.
Diffstat (limited to 'ext/pgsql')
-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,