remove some compiler warnings
This commit is contained in:
parent
beb1b1fa5b
commit
f9c6091642
1 changed files with 1 additions and 3 deletions
|
|
@ -1,6 +1,4 @@
|
|||
use crate::cmp;
|
||||
use crate::ffi::c_void;
|
||||
use crate::mem;
|
||||
use crate::ptr;
|
||||
use crate::sync::atomic::{AtomicUsize, Ordering::SeqCst};
|
||||
use crate::sys::hermit::abi;
|
||||
|
|
@ -55,7 +53,7 @@ impl Condvar {
|
|||
mutex.lock();
|
||||
}
|
||||
|
||||
pub unsafe fn wait_timeout(&self, mutex: &Mutex, dur: Duration) -> bool {
|
||||
pub unsafe fn wait_timeout(&self, _mutex: &Mutex, _dur: Duration) -> bool {
|
||||
panic!("wait_timeout not supported on hermit");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue