From 4db02b76c91137ff930f3b94eb51ae36541b7aec Mon Sep 17 00:00:00 2001 From: Grzegorz Lukasik Date: Tue, 19 Nov 2024 01:23:11 -0800 Subject: [PATCH] Removed unused local variable Copybara Import from https://github.com/bazelbuild/rules_cc/pull/276 BEGIN_PUBLIC Removed unused local variable (#276) Closes #276 END_PUBLIC COPYBARA_INTEGRATE_REVIEW=https://github.com/bazelbuild/rules_cc/pull/276 from hauserx:unused_msvc_vars 72454acb13b28396f5f9bc3f8eb7b2b65781a589 PiperOrigin-RevId: 697918518 Change-Id: I88fa8c6836d62cfcbc38818a4241fb623ebc7ae6 --- cc/private/toolchain/windows_cc_configure.bzl | 1 - 1 file changed, 1 deletion(-) diff --git a/cc/private/toolchain/windows_cc_configure.bzl b/cc/private/toolchain/windows_cc_configure.bzl index e2dcbf0..66ca5fb 100644 --- a/cc/private/toolchain/windows_cc_configure.bzl +++ b/cc/private/toolchain/windows_cc_configure.bzl @@ -649,7 +649,6 @@ def _get_msys_mingw_vars(repository_ctx): def _get_msvc_vars(repository_ctx, paths, target_arch = "x64", msvc_vars_x64 = None): """Get the variables we need to populate the MSVC toolchains.""" - msvc_vars = dict() vc_path = find_vc_path(repository_ctx) missing_tools = None