diff --git a/src/node.c b/src/node.c index fb4b7eb4..c9ffc393 100644 --- a/src/node.c +++ b/src/node.c @@ -130,7 +130,8 @@ void node_del(node_t *n) { } node_t *lookup_node(char *name) { - node_t n = {NULL}; + node_t n; + memset(&n, 0x0, sizeof(node_t)); n.name = name;