From 6eaf3829a0802c38e76f1eb6a0300798bd74a754 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Wed, 30 Oct 2019 13:32:26 +0100 Subject: [PATCH] mesh/health_server: fix unused variable warning --- src/mesh/mesh_health_server.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesh/mesh_health_server.c b/src/mesh/mesh_health_server.c index 2e2c3a247..651a598ea 100644 --- a/src/mesh/mesh_health_server.c +++ b/src/mesh/mesh_health_server.c @@ -346,6 +346,7 @@ void mesh_health_server_add_fault_state(mesh_model_t *mesh_model, uint16_t compa mesh_health_state_t * state = (mesh_health_state_t *) mesh_model->model_data; mesh_health_fault_t * fault = mesh_health_server_fault_for_company_id(mesh_model, company_id); btstack_assert(fault == NULL); + (void) fault; fault_state->company_id = company_id; btstack_linked_list_add(&state->faults, (btstack_linked_item_t *) fault_state); }