]> granicus.if.org Git - php/commitdiff
Fixed compiler warnings.
authorIlia Alshanetsky <iliaa@php.net>
Sun, 27 Feb 2005 17:08:18 +0000 (17:08 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Sun, 27 Feb 2005 17:08:18 +0000 (17:08 +0000)
ext/standard/ftp_fopen_wrapper.c
ext/standard/image.c

index d338efb37fada17aeb8fa2c138e75287c117efa0..8572324f39c1275bfc47449fa79ef5969bd980b4 100644 (file)
@@ -648,7 +648,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;
index e80c5944272e49cfcb2d129a93c7bcc98d9a1329..76e908dc2b338343c7eca09c24a9e393e149264f 100644 (file)
@@ -601,7 +601,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;