cvs: php4 /ext/pgsql pgsql.c
| From: | Yasuo Ohgaki | Date: | Tue, 26 Mar 2002 08:49:36 +0000 |
| Subject: | cvs: php4 /ext/pgsql pgsql.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-10693@lists.php.net to get a copy of this message | ||
yohgaki Tue Mar 26 03:49:36 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Remove warnings
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.162 php4/ext/pgsql/pgsql.c:1.163
--- php4/ext/pgsql/pgsql.c:1.162 Tue Mar 26 03:43:57 2002
+++ php4/ext/pgsql/pgsql.c Tue Mar 26 03:49:36 2002
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pgsql.c,v 1.162 2002/03/26 08:43:57 yohgaki Exp $ */
+/* $Id: pgsql.c,v 1.163 2002/03/26 08:49:36 yohgaki Exp $ */
#include <stdlib.h>
@@ -2363,7 +2363,6 @@
PHP_FUNCTION(pg_escape_string)
{
char *from = NULL, *to = NULL;
- long type = PGSQL_ESCAPE_STRING;
int len;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s",
&from, &len) == FAILURE) {
@@ -2383,7 +2382,6 @@
PHP_FUNCTION(pg_escape_bytea)
{
char *from = NULL, *to = NULL;
- long type = PGSQL_ESCAPE_STRING;
int len;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s",
&from, &len) == FAILURE) {