From 57006b55df0594a0f6925212048c09e6a7bc3397 Mon Sep 17 00:00:00 2001 From: Nicolas Mattia Date: Fri, 14 Oct 2022 12:16:57 +0200 Subject: [PATCH] chore: remove unused variable (#2686) This removes a variable that wasn't being used (warnings were silenced because name was `_all`). --- src/dfx/src/commands/build.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/dfx/src/commands/build.rs b/src/dfx/src/commands/build.rs index f7cb66a4ef..4ad81e8f36 100644 --- a/src/dfx/src/commands/build.rs +++ b/src/dfx/src/commands/build.rs @@ -41,7 +41,6 @@ pub fn exec(env: &dyn Environment, opts: CanisterBuildOpts) -> DfxResult { env.get_cache().install()?; let build_mode_check = opts.check; - let _all = opts.all; // Option can be None in which case --all was specified let canister_names = config