edink Thu Dec 11 05:06:13 2003 EDT
Modified files: (Branch: PHP_4_3)
/php-src/ext/pgsql pgsql.c
Log:
Nuke unused local vars
Index: php-src/ext/pgsql/pgsql.c
diff -u php-src/ext/pgsql/pgsql.c:1.244.2.28 php-src/ext/pgsql/pgsql.c:1.244.2.29
--- php-src/ext/pgsql/pgsql.c:1.244.2.28 Sat Dec 6 16:28:07 2003
+++ php-src/ext/pgsql/pgsql.c Thu Dec 11 05:06:12 2003
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pgsql.c,v 1.244.2.28 2003/12/06 21:28:07 helly Exp $ */
+/* $Id: pgsql.c,v 1.244.2.29 2003/12/11 10:06:12 edink Exp $ */
#include <stdlib.h>
@@ -523,8 +523,6 @@
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 @@
PGresult *pgsql_result;
ExecStatusType status;
pgsql_result_handle *pg_result;
- char *msgbuf;
switch(ZEND_NUM_ARGS()) {
case 1:
@@ -2406,7 +2403,6 @@
int id = -1;
PGconn *pgsql;
int result = 0;
- char *msgbuf;
switch(ZEND_NUM_ARGS()) {
case 0:
@@ -2447,7 +2443,6 @@
int id = -1;
PGconn *pgsql;
int result = 0;
- char *msgbuf;
switch(ZEND_NUM_ARGS()) {
case 1:
@@ -2501,7 +2496,6 @@
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 @@
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,
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php