]> granicus.if.org Git - php/commitdiff
initialize correct variable
authorAntony Dovgal <tony2001@php.net>
Thu, 1 Nov 2007 19:13:28 +0000 (19:13 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 1 Nov 2007 19:13:28 +0000 (19:13 +0000)
ext/iconv/iconv.c

index 82244e8f312e5179d5ed52f80e25b39d22ba52af..3e8c8a90fae1f129f0258422e46130b231264624 100644 (file)
@@ -2234,9 +2234,9 @@ PHP_FUNCTION(iconv_mime_encode)
 PHP_FUNCTION(iconv_mime_decode)
 {
        char *encoded_str;
-       int encoded_str_len = 0;
+       int encoded_str_len;
        char *charset;
-       int charset_len;
+       int charset_len = 0;
        long mode = 0;
        
        smart_str retval = {0};