From 914732c40daa335ea4d5ac6492cb9e391ddf6024 Mon Sep 17 00:00:00 2001 From: Corey Farrell Date: Sat, 23 Dec 2017 23:51:13 -0500 Subject: [PATCH] loader: Add volatile to resource_being_loaded. Change-Id: If17a3b889e06811a0e7119f0539d052494d6ece9 --- main/loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/loader.c b/main/loader.c index c18fb379fc..b9baf3e933 100644 --- a/main/loader.c +++ b/main/loader.c @@ -202,7 +202,7 @@ static AST_DLLIST_HEAD_STATIC(reload_queue, reload_queue_item); * * This is protected by the module_list lock. */ -static struct ast_module *resource_being_loaded; +static struct ast_module * volatile resource_being_loaded; /*! * \internal -- 2.13.6