From b891ad909a5f4f5dd2948ede32622a622e1732b6 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Thu, 30 Jun 2011 14:25:00 +0100 Subject: [PATCH] Initialise ret to NULL. --- twig.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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; -- 1.7.2.5