]> granicus.if.org Git - php/commitdiff
init variable, eliminate compile warning
authorAntony Dovgal <tony2001@php.net>
Wed, 2 Aug 2006 10:04:11 +0000 (10:04 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 2 Aug 2006 10:04:11 +0000 (10:04 +0000)
ext/mysql/php_mysql.c

index e509cf7803f46387916199c2a336687029d678c3..201c4eccab9bfceb4f52f73e9488939b20ca6a1e 100644 (file)
@@ -1893,7 +1893,7 @@ static void php_mysql_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, int result_type,
        mysql_row_length_type *mysql_row_lengths;
        int i;
        zval            *res, *ctor_params = NULL;
-       zend_class_entry *ce;
+       zend_class_entry *ce = NULL;
 
 #ifdef ZEND_ENGINE_2
        if (into_object) {