Skip to content

Commit bf26cbf

Browse files
author
Cruz Monrreal
authored
Merge pull request #7807 from hasnainvirk/warning_fix
Compiler warning: unused variable in LoRaMac.h
2 parents a8f390e + a7cb32f commit bf26cbf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

features/lorawan/lorastack/mac/LoRaMac.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,11 +475,13 @@ class LoRaMac {
475475
{
476476
osStatus status = _mutex.lock();
477477
MBED_ASSERT(status == osOK);
478+
(void) status;
478479
}
479480
void unlock(void)
480481
{
481482
osStatus status = _mutex.unlock();
482483
MBED_ASSERT(status == osOK);
484+
(void) status;
483485
}
484486
#else
485487
void lock(void) { }

0 commit comments

Comments
 (0)