From ed95a5621ac9c4f5002e68a981f8b24d5caaedf4 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Mon, 28 Mar 2016 14:11:22 -0400 Subject: kludge things to compile on old linux --- src/hash.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/hash.c') diff --git a/src/hash.c b/src/hash.c index 290c668..ce91ceb 100644 --- a/src/hash.c +++ b/src/hash.c @@ -357,6 +357,7 @@ struct hash_export_node hash_get_internal_node(void *ptr, const void *key) } struct hash_export_node ret; + memset(&ret, 0, sizeof(ret)); ret.node = NULL; return ret; } -- cgit v1.1