mirror of https://github.com/ARMmbed/mbed-os.git
remove unused variable / resolve compiler warning
parent
df4ceee4e1
commit
0dbfcb13a2
|
|
@ -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