From: Sebastian Bergmann Date: Thu, 8 Aug 2002 18:55:19 +0000 (+0000) Subject: Fix warnings. X-Git-Tag: php-4.3.0dev_zend2_alpha3~178 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9abdbd9c299ac3b530becc38177b708f6f287415;p=php Fix warnings. --- 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) {