1
0
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:
hellerve
2019-11-20 15:27:10 +01:00
parent 1ff25a1299
commit 8812c0ab3d

View File

@ -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
}