From 780756bea8a80697837a6dcf7edd973255ebf8df Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sun, 26 Dec 2021 14:59:45 -0700 Subject: [PATCH] gui: don't warn about wsl helper function on unix Technically is only used on windows, but I'm fine with having it built and tested on all platforms. --- wezterm-gui/src/overlay/launcher.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/wezterm-gui/src/overlay/launcher.rs b/wezterm-gui/src/overlay/launcher.rs index 62aa4f272..3dd8394f5 100644 --- a/wezterm-gui/src/overlay/launcher.rs +++ b/wezterm-gui/src/overlay/launcher.rs @@ -60,6 +60,7 @@ struct WslDistro { /// by looking at the tabulated output headers, determining /// where the columns are and then collecting the information /// into a hashmap and then grokking from there. +#[allow(dead_code)] fn parse_wsl_distro_list(output: &str) -> Vec { let lines = output.lines().collect::>();