From 76ec183035e5e67d8ae536dd997cb4b0a5d77c84 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sat, 2 Sep 2017 21:06:59 +0200 Subject: [PATCH] fix initialization of list --- tests/unit/mapping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/mapping.c b/tests/unit/mapping.c index d4c7ea985..93faa537c 100644 --- a/tests/unit/mapping.c +++ b/tests/unit/mapping.c @@ -30,7 +30,7 @@ Test(mapping, parse_nodes) { int ret; struct mapping_entry m; - struct list n; + struct list n = { .state = STATE_DESTROYED }; struct node n1 = { .name = "apple" }; struct node n2 = { .name = "cherry" };