Skip to content

Commit

Permalink
service: fix a unused variable warning on macos
Browse files Browse the repository at this point in the history
Fix a unused variable warning on macos.

Signed-off-by: Jiang Liu <[email protected]>
  • Loading branch information
jiangliu committed Feb 24, 2023
1 parent b26242e commit 7d69917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/src/singleton.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<String>,
supervisor: Option<String>,
Expand Down

0 comments on commit 7d69917

Please sign in to comment.