summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {