cvs: php4 /ext/ftp ftp.c php_ftp.c

From: Date: Thu, 08 Aug 2002 18:55:19 +0000
Subject: cvs: php4 /ext/ftp ftp.c php_ftp.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-13222@lists.php.net to get a copy of this message
sebastian Thu Aug 8 14:55:19 2002 EDT Modified files: /php4/ext/ftp ftp.c php_ftp.c Log: Fix warnings. Index: php4/ext/ftp/ftp.c diff -u php4/ext/ftp/ftp.c:1.56 php4/ext/ftp/ftp.c:1.57 --- php4/ext/ftp/ftp.c:1.56 Sat Jul 27 05:18:51 2002 +++ php4/ext/ftp/ftp.c Thu Aug 8 14:55:19 2002 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: ftp.c,v 1.56 2002/07/27 09:18:51 sesser Exp $ */ +/* $Id: ftp.c,v 1.57 2002/08/08 18:55:19 sebastian Exp $ */ #include "php.h" @@ -1373,9 +1373,6 @@ 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 @@ 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(); Index: php4/ext/ftp/php_ftp.c diff -u php4/ext/ftp/php_ftp.c:1.66 php4/ext/ftp/php_ftp.c:1.67 --- php4/ext/ftp/php_ftp.c:1.66 Tue Jul 30 16:37:59 2002 +++ php4/ext/ftp/php_ftp.c Thu Aug 8 14:55:19 2002 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_ftp.c,v 1.66 2002/07/30 20:37:59 sesser Exp $ */ +/* $Id: php_ftp.c,v 1.67 2002/08/08 18:55:19 sebastian Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -787,7 +787,7 @@ 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) {

« previous php.cvs (#13222) next »