From: Derick Rethans Date: Thu, 30 Jun 2011 13:25:00 +0000 (+0100) Subject: Initialise ret to NULL. X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=b891ad909a5f4f5dd2948ede32622a622e1732b6;p=web%2Fkonrad%2Ftwig.git Initialise ret to NULL. --- diff --git a/twig.c b/twig.c index 07b7a64..02dfa2b 100644 --- a/twig.c +++ b/twig.c @@ -417,7 +417,7 @@ PHP_FUNCTION(twig_template_get_attributes) zval *object; zval *item; zval *arguments; - zval *ret; + zval *ret = NULL; char *type = NULL; int type_len = 0; zend_bool isDefinedTest = 0;