From 7d699179a8e5551bb85d1c5cf052459298f7ce2c Mon Sep 17 00:00:00 2001 From: Jiang Liu Date: Fri, 24 Feb 2023 16:28:50 +0800 Subject: [PATCH] service: fix a unused variable warning on macos Fix a unused variable warning on macos. Signed-off-by: Jiang Liu --- service/src/singleton.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/src/singleton.rs b/service/src/singleton.rs index 7feb90c34ed..171552e1f6a 100644 --- a/service/src/singleton.rs +++ b/service/src/singleton.rs @@ -237,7 +237,7 @@ impl DaemonStateMachineSubscriber for ServiceController { } /// Create and start a Nydus daemon to host fscache and fusedev services. -#[allow(clippy::too_many_arguments)] +#[allow(clippy::too_many_arguments, unused)] pub fn create_daemon( id: Option, supervisor: Option,