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

index 513a75cf48960bb3e843d5f3a2d6e0e2566d4cd8..91c71c23781113c9f04173209e29667afbc29244 100644 (file)
@@ -1882,7 +1882,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;
 
        if (into_object) {
                char *class_name;