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

index bf398d6764050d32a2a9c4ccbcab15885af67b4d..809a32bedfc1f56f4a69a1b5864541893375308f 100644 (file)
@@ -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;
index 2fcd82b171d9ea3ab77a30da21f00f1a1a94e0c0..a23ea51866437e8a32cf38824bd8a88e20e6f865 100644 (file)
@@ -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;