projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
803c1a9
)
Initialise variable to NULL.
author
Derick Rethans
<github@derickrethans.nl>
Mon, 4 Jul 2011 17:02:39 +0000 (18:02 +0100)
committer
Derick Rethans
<github@derickrethans.nl>
Mon, 4 Jul 2011 17:02:39 +0000 (18:02 +0100)
twig.c
patch
|
blob
|
history
diff --git
a/twig.c
b/twig.c
index
d2cc1ea
..
832a9b9
100644
(file)
--- 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) {