From fed3058fbaa680fb36fade20fe40a01555b7d683 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Thu, 17 Mar 2005 17:16:43 +0000 Subject: [PATCH] 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 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 -- 2.50.1