summaryrefslogtreecommitdiff
path: root/ext/pgsql/pgsql.c
diff options
context:
space:
mode:
authorYasuo Ohgaki <yohgaki@php.net>2002-03-26 08:49:36 +0000
committerYasuo Ohgaki <yohgaki@php.net>2002-03-26 08:49:36 +0000
commitec0c373992e68a892ce1d74baffee00a09ed96e9 (patch)
tree1781be64a37ac95a58fa6b8f1902ab1cf5156837 /ext/pgsql/pgsql.c
parentc8a362370889c050f8e10411180acff8f244b9a8 (diff)
downloadphp-git-ec0c373992e68a892ce1d74baffee00a09ed96e9.tar.gz
Remove warnings
Diffstat (limited to 'ext/pgsql/pgsql.c')
-rw-r--r--ext/pgsql/pgsql.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c
index 3e0bb6e196..850365a064 100644
--- a/ext/pgsql/pgsql.c
+++ b/ext/pgsql/pgsql.c
@@ -2363,7 +2363,6 @@ PHP_FUNCTION(pg_copy_from)
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_string)
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) {