mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[ecmascript] initialise with NULL
This commit is contained in:
parent
0b671d69f7
commit
9d2a83b09c
@ -509,7 +509,7 @@ void *
|
||||
walk_tree_query(dom_node *node, const char *selector, int depth)
|
||||
{
|
||||
dom_exception exc;
|
||||
dom_node *child;
|
||||
dom_node *child = NULL;
|
||||
void *res = NULL;
|
||||
dom_node_type typ;
|
||||
|
||||
@ -534,7 +534,7 @@ walk_tree_query(dom_node *node, const char *selector, int depth)
|
||||
|
||||
/* Loop though all node's children */
|
||||
do {
|
||||
dom_node *next_child;
|
||||
dom_node *next_child = NULL;
|
||||
|
||||
/* Visit node's descendents */
|
||||
res = walk_tree_query(child, selector, depth);
|
||||
|
Loading…
Reference in New Issue
Block a user