From: Ilia Alshanetsky Date: Sun, 7 Dec 2003 18:39:09 +0000 (+0000) Subject: Removed unused variable. X-Git-Tag: php-5.0.0b3RC1~199 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=669b421c11f6e9a976c296ba1ddfb7fb70c6b43e;p=php Removed unused variable. --- 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,