projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
828c113
)
Initialise ret to NULL.
author
Derick Rethans
<github@derickrethans.nl>
Thu, 30 Jun 2011 13:25:00 +0000 (14:25 +0100)
committer
Derick Rethans
<github@derickrethans.nl>
Thu, 30 Jun 2011 13:25:00 +0000 (14:25 +0100)
twig.c
patch
|
blob
|
history
diff --git
a/twig.c
b/twig.c
index
07b7a64
..
02dfa2b
100644
(file)
--- 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;