Initialize variables in node.c

This commit is contained in:
thorkill 2015-06-30 19:24:27 +02:00
parent d803ac93dc
commit 0bd116195a

View file

@ -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;