From a35b6ffd5dbf43562924aa512db32ffda03dcab3 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Thu, 17 Mar 2005 17:16:53 +0000 Subject: [PATCH] MFH: Fixed compiler warning on win32. --- ext/ftp/ftp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/ftp/ftp.c b/ext/ftp/ftp.c index e2ce52db6f..fdb1061da8 100644 --- a/ext/ftp/ftp.c +++ b/ext/ftp/ftp.c @@ -705,7 +705,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 -- 2.50.1