From: Philippe Proulx Date: Tue, 22 Nov 2016 09:32:16 +0000 (-0500) Subject: values.c: completely initialize the bt_value_null_instance object X-Git-Tag: v2.0.0-pre1~687 X-Git-Url: https://git.efficios.com/?a=commitdiff_plain;h=f685129c346e580bfaa4f555c4c80b9b63e490ea;p=babeltrace.git values.c: completely initialize the bt_value_null_instance object Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- diff --git a/lib/values.c b/lib/values.c index cea4b10b..1c7902bd 100644 --- a/lib/values.c +++ b/lib/values.c @@ -51,6 +51,14 @@ struct bt_value { static struct bt_value bt_value_null_instance = { + .base = { + .ref_count = { + .count = 1, + .release = NULL, + }, + .release = NULL, + .parent = NULL, + }, .type = BT_VALUE_TYPE_NULL, .is_frozen = true, };