Initialise variable to NULL.

This commit is contained in:
Derick Rethans
2011-07-04 18:02:39 +01:00
parent 803c1a9f83
commit f196f01704
+1 -1
View File
@@ -555,7 +555,7 @@ PHP_FUNCTION(twig_template_get_attributes)
}
}
*/
char *class_name;
char *class_name = NULL;
zval *tmp_self_cache;
if (Z_TYPE_P(object) == IS_OBJECT) {