From 54419f07e97c54c7debff922868178465c773611 Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Thu, 18 Oct 2018 14:37:08 +0200 Subject: [PATCH] examples/nimble_gatt: (void) rt variables --- examples/nimble_gatt/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/nimble_gatt/main.c b/examples/nimble_gatt/main.c index dea9ff4d6d..4d37a7d6a7 100644 --- a/examples/nimble_gatt/main.c +++ b/examples/nimble_gatt/main.c @@ -90,6 +90,7 @@ static void start_advertise(void) rc = ble_gap_adv_start(own_addr_type, NULL, BLE_HS_FOREVER, &advp, gap_event_cb, NULL); assert(rc == 0); + (void)rc; } static void app_ble_sync_cb(void) @@ -101,6 +102,7 @@ static void app_ble_sync_cb(void) rc = ble_hs_id_infer_auto(0, &own_addr_type); assert(rc == 0); + (void)rc; /* generate the advertising data */ update_ad();