From: Ilia Alshanetsky Date: Thu, 17 Mar 2005 17:16:43 +0000 (+0000) Subject: Fixed compiler warning on win32. X-Git-Tag: php-5.0.1b1~773 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fed3058fbaa680fb36fade20fe40a01555b7d683;p=php Fixed compiler warning on win32. --- diff --git a/ext/ftp/ftp.c b/ext/ftp/ftp.c index 8a229a17c6..208b6e79e7 100644 --- a/ext/ftp/ftp.c +++ b/ext/ftp/ftp.c @@ -838,7 +838,9 @@ ftp_get(ftpbuf_t *ftp, php_stream *outstream, const char *path, ftptype_t type, } if (type == FTPTYPE_ASCII) { +#ifndef PHP_WIN32 char *s; +#endif char *ptr = data->buf; char *e = ptr + rcvd; /* logic depends on the OS EOL