summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Bergmann <sebastian@php.net>2002-08-08 18:55:19 +0000
committerSebastian Bergmann <sebastian@php.net>2002-08-08 18:55:19 +0000
commit9abdbd9c299ac3b530becc38177b708f6f287415 (patch)
treec1f0be018917242c4b156ff13ca189079902f30e
parent646292e08b627bbf90aefc864fb155d0dff5fcda (diff)
downloadphp-git-9abdbd9c299ac3b530becc38177b708f6f287415.tar.gz
Fix warnings.
-rw-r--r--ext/ftp/ftp.c6
-rw-r--r--ext/ftp/php_ftp.c2
2 files changed, 1 insertions, 7 deletions
diff --git a/ext/ftp/ftp.c b/ext/ftp/ftp.c
index de5ca14f4b..dcff657bde 100644
--- a/ext/ftp/ftp.c
+++ b/ext/ftp/ftp.c
@@ -1373,9 +1373,6 @@ int
ftp_async_get(ftpbuf_t *ftp, php_stream *outstream, const char *path, ftptype_t type, int resumepos)
{
databuf_t *data = NULL;
- char *ptr;
- int lastch;
- int rcvd;
char arg[11];
TSRMLS_FETCH();
@@ -1496,9 +1493,6 @@ int
ftp_async_put(ftpbuf_t *ftp, const char *path, php_stream *instream, ftptype_t type, int startpos)
{
databuf_t *data = NULL;
- int size;
- char *ptr;
- int ch;
char arg[11];
TSRMLS_FETCH();
diff --git a/ext/ftp/php_ftp.c b/ext/ftp/php_ftp.c
index e217b149dc..8986c194cc 100644
--- a/ext/ftp/php_ftp.c
+++ b/ext/ftp/php_ftp.c
@@ -787,7 +787,7 @@ PHP_FUNCTION(ftp_put)
ftpbuf_t *ftp;
ftptype_t xtype;
char *remote, *local;
- int remote_len, local_len, mode, startpos=0, ret;
+ int remote_len, local_len, mode, startpos=0;
php_stream * instream;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rssl|l", &z_ftp, &remote, &remote_len, &local, &local_len, &mode, &startpos) == FAILURE) {