]> granicus.if.org Git - php/commitdiff
Fix warnings.
authorSebastian Bergmann <sebastian@php.net>
Thu, 8 Aug 2002 18:55:19 +0000 (18:55 +0000)
committerSebastian Bergmann <sebastian@php.net>
Thu, 8 Aug 2002 18:55:19 +0000 (18:55 +0000)
ext/ftp/ftp.c
ext/ftp/php_ftp.c

index de5ca14f4b22c0b2a9b11d06f1b61e64305ab397..dcff657bde77a3142284dbe353f7ede88638c195 100644 (file)
@@ -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();
 
index e217b149dc81ccd8480b5d36f17e66363ccecfd0..8986c194cc6586772e5b6ce43750f2b090e5214c 100644 (file)
@@ -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) {