From: Ilia Alshanetsky Date: Thu, 17 Mar 2005 17:16:49 +0000 (+0000) Subject: MFH: Fixed compiler warning on win32. X-Git-Tag: php-5.0.4RC2~40 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=20251c4f374d305bf1d6ecf2e13b6fd69326ca06;p=php MFH: 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