From 88288fc76bff33d13535df67d1e7cd723433e38b Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Thu, 19 May 2022 21:46:32 +0200 Subject: [PATCH] test/security_manager_sc: fix warnings --- test/security_manager_sc/sm_test.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/security_manager_sc/sm_test.c b/test/security_manager_sc/sm_test.c index 3af73ca7e..539718e87 100644 --- a/test/security_manager_sc/sm_test.c +++ b/test/security_manager_sc/sm_test.c @@ -203,7 +203,6 @@ static void handle_gatt_client_event(uint8_t packet_type, uint16_t channel, uint UNUSED(channel); UNUSED(size); - int status; char message[30]; switch(state){ @@ -240,7 +239,7 @@ static void handle_gatt_client_event(uint8_t packet_type, uint16_t channel, uint } state = TC_W4_SUBSCRIBED; printf("Configure counter for notify.\n"); - status = gatt_client_write_client_characteristic_configuration(handle_gatt_client_event, connection_handle, &le_counter_characteristic, GATT_CLIENT_CHARACTERISTICS_CONFIGURATION_NOTIFICATION); + gatt_client_write_client_characteristic_configuration(handle_gatt_client_event, connection_handle, &le_counter_characteristic, GATT_CLIENT_CHARACTERISTICS_CONFIGURATION_NOTIFICATION); break; default: break;