diff options
author | Edin Kadribasic <edink@php.net> | 2003-12-11 10:06:12 +0000 |
---|---|---|
committer | Edin Kadribasic <edink@php.net> | 2003-12-11 10:06:12 +0000 |
commit | 2d5754d69f5eca5e8f9a9da2a5c2d46c484dcc04 (patch) | |
tree | e8a62d70661a7110a27a6c0b423a249243cc9c55 | |
parent | 10b70c23aedfba22489908010626a7d6be69c246 (diff) | |
download | php-git-2d5754d69f5eca5e8f9a9da2a5c2d46c484dcc04.tar.gz |
Nuke unused local vars
-rw-r--r-- | ext/pgsql/pgsql.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 0c6b97e0e0..e34ecebb6f 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -523,8 +523,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 || zend_get_parameters_array_ex(ZEND_NUM_ARGS(), args) == FAILURE) { @@ -943,7 +941,6 @@ PHP_FUNCTION(pg_query) PGresult *pgsql_result; ExecStatusType status; pgsql_result_handle *pg_result; - char *msgbuf; switch(ZEND_NUM_ARGS()) { case 1: @@ -2406,7 +2403,6 @@ PHP_FUNCTION(pg_end_copy) int id = -1; PGconn *pgsql; int result = 0; - char *msgbuf; switch(ZEND_NUM_ARGS()) { case 0: @@ -2447,7 +2443,6 @@ PHP_FUNCTION(pg_put_line) int id = -1; PGconn *pgsql; int result = 0; - char *msgbuf; switch(ZEND_NUM_ARGS()) { case 1: @@ -2501,7 +2496,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, @@ -2612,7 +2606,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, |