mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #6113 from bmcdonnell-ionx/master
remove unused variable / resolve compiler warningpull/6125/head
commit
bc4dea2b1c
|
@ -60,7 +60,6 @@ int32_t Semaphore::wait(uint32_t millisec) {
|
||||||
|
|
||||||
int32_t Semaphore::wait_until(uint64_t millisec) {
|
int32_t Semaphore::wait_until(uint64_t millisec) {
|
||||||
uint64_t now = Kernel::get_ms_count();
|
uint64_t now = Kernel::get_ms_count();
|
||||||
uint32_t timeout;
|
|
||||||
|
|
||||||
if (now >= millisec) {
|
if (now >= millisec) {
|
||||||
return wait(0);
|
return wait(0);
|
||||||
|
|
Loading…
Reference in New Issue