mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #7807 from hasnainvirk/warning_fix
Compiler warning: unused variable in LoRaMac.hpull/7890/head
commit
bf26cbf330
|
@ -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) { }
|
||||
|
|
Loading…
Reference in New Issue