diff --git a/features/lorawan/lorastack/mac/LoRaMac.h b/features/lorawan/lorastack/mac/LoRaMac.h index 783175a284..9f1837e283 100644 --- a/features/lorawan/lorastack/mac/LoRaMac.h +++ b/features/lorawan/lorastack/mac/LoRaMac.h @@ -475,11 +475,13 @@ public: { osStatus status = _mutex.lock(); MBED_ASSERT(status == osOK); + (void) status; } void unlock(void) { osStatus status = _mutex.unlock(); MBED_ASSERT(status == osOK); + (void) status; } #else void lock(void) { }