From 3af906b9a8d5f9c730b984ea9b98c08ce0985c63 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Mon, 26 Oct 2015 13:19:20 +0100 Subject: [PATCH] Ensure g_hrt_work is zero-initialized --- src/platforms/posix/work_queue/hrt_thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/posix/work_queue/hrt_thread.c b/src/platforms/posix/work_queue/hrt_thread.c index 98331ca798..9ac14e4b2d 100644 --- a/src/platforms/posix/work_queue/hrt_thread.c +++ b/src/platforms/posix/work_queue/hrt_thread.c @@ -63,7 +63,7 @@ ****************************************************************************/ /* The state of each work queue. */ -struct wqueue_s g_hrt_work; +struct wqueue_s g_hrt_work = {}; /**************************************************************************** * Private Variables