mirror of
https://github.com/NLnetLabs/routinator.git
synced 2024-05-19 06:50:04 +00:00
operation: mark unused variables
This commit is contained in:
@ -1018,14 +1018,14 @@ struct SignalWait;
|
||||
|
||||
#[cfg(windows)]
|
||||
impl SignalWait {
|
||||
pub fn new(runtime: &mut tokio::runtime::Runtime) -> Result<Self, Error> {
|
||||
pub fn new(_runtime: &mut tokio::runtime::Runtime) -> Result<Self, Error> {
|
||||
Ok(SignalWait)
|
||||
}
|
||||
|
||||
/// Waits for the next thing to do.
|
||||
///
|
||||
/// Returns whether to continue working.
|
||||
pub fn wait(&self, timeout: Duration, repo: &mut Repository, config: &Config) -> bool {
|
||||
pub fn wait(&self, timeout: Duration, _repo: &mut Repository, _config: &Config) -> bool {
|
||||
std::thread::sleep(timeout);
|
||||
true
|
||||
}
|
||||
|
Reference in New Issue
Block a user