]> granicus.if.org Git - php/commitdiff
- Added CG(encoding_declared) initialization
authorFelipe Pena <felipe@php.net>
Mon, 16 Nov 2009 22:52:00 +0000 (22:52 +0000)
committerFelipe Pena <felipe@php.net>
Mon, 16 Nov 2009 22:52:00 +0000 (22:52 +0000)
Zend/zend_compile.c

index 949798d7c302b41f9228e512e5b9aef8c5bfe6a3..080c6aac7187cb4e379da613fe2c1339f80a3b41 100644 (file)
@@ -161,6 +161,7 @@ void zend_init_compiler_data_structures(TSRMLS_D) /* {{{ */
        CG(encoding_detector) = NULL;
        CG(encoding_converter) = NULL;
        CG(encoding_oddlen) = NULL;
+       CG(encoding_declared) = 0;
 #endif /* ZEND_MULTIBYTE */
 }
 /* }}} */