Skip to content

Commit 0dbfcb1

Browse files
remove unused variable / resolve compiler warning
1 parent df4ceee commit 0dbfcb1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

rtos/Semaphore.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ int32_t Semaphore::wait(uint32_t millisec) {
6060

6161
int32_t Semaphore::wait_until(uint64_t millisec) {
6262
uint64_t now = Kernel::get_ms_count();
63-
uint32_t timeout;
6463

6564
if (now >= millisec) {
6665
return wait(0);

0 commit comments

Comments
 (0)