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

index 2a4d6d72357b6f1ea6b0de844396859d56b9adba..37d187a13aba638324d57263d7090647190a12e6 100644 (file)
@@ -2167,9 +2167,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};