From 0bd116195a70e90fbeaa3f936c27be92e31d78c5 Mon Sep 17 00:00:00 2001 From: thorkill Date: Tue, 30 Jun 2015 19:24:27 +0200 Subject: [PATCH] Initialize variables in node.c --- src/node.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;