From 2cdf30c4906c838a7de2cb6c91fc6dfd60f93f78 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Sun, 27 Feb 2005 17:08:26 +0000 Subject: [PATCH] MFH: Fixed compiler warnings. --- ext/standard/ftp_fopen_wrapper.c | 2 +- ext/standard/image.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/standard/ftp_fopen_wrapper.c b/ext/standard/ftp_fopen_wrapper.c index bf398d6764..809a32bedf 100644 --- a/ext/standard/ftp_fopen_wrapper.c +++ b/ext/standard/ftp_fopen_wrapper.c @@ -645,7 +645,7 @@ php_stream * php_stream_ftp_opendir(php_stream_wrapper *wrapper, char *path, cha { php_stream *stream, *reuseid, *datastream = NULL; php_url *resource = NULL; - int result, use_ssl, use_ssl_on_data = 0; + int result = 0, use_ssl, use_ssl_on_data = 0; char *hoststart = NULL, tmp_line[512]; char ip[sizeof("123.123.123.123")]; unsigned short portno; diff --git a/ext/standard/image.c b/ext/standard/image.c index 2fcd82b171..a23ea51866 100644 --- a/ext/standard/image.c +++ b/ext/standard/image.c @@ -604,7 +604,7 @@ static struct gfxinfo *php_handle_jpc(php_stream * stream TSRMLS_DC) { struct gfxinfo *result = NULL; unsigned short dummy_short; - int dummy_int, highest_bit_depth, bit_depth; + int highest_bit_depth, bit_depth; unsigned char first_marker_id; unsigned int i; -- 2.50.1