From f196f01704d63a8826bd7b957af242b9cf16d84d Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Mon, 4 Jul 2011 18:02:39 +0100 Subject: [PATCH] Initialise variable to NULL. --- twig.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/twig.c b/twig.c index d2cc1ea..832a9b9 100644 --- a/twig.c +++ b/twig.c @@ -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) { -- 1.7.2.5