diff options
author | Sebastian Bergmann <sebastian@php.net> | 2002-08-08 18:55:19 +0000 |
---|---|---|
committer | Sebastian Bergmann <sebastian@php.net> | 2002-08-08 18:55:19 +0000 |
commit | 9abdbd9c299ac3b530becc38177b708f6f287415 (patch) | |
tree | c1f0be018917242c4b156ff13ca189079902f30e | |
parent | 646292e08b627bbf90aefc864fb155d0dff5fcda (diff) | |
download | php-git-9abdbd9c299ac3b530becc38177b708f6f287415.tar.gz |
Fix warnings.
-rw-r--r-- | ext/ftp/ftp.c | 6 | ||||
-rw-r--r-- | ext/ftp/php_ftp.c | 2 |
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) { |