diff --git a/espanso-render/src/extension/exec_util.rs b/espanso-render/src/extension/exec_util.rs index 855ccc0..e602e72 100644 --- a/espanso-render/src/extension/exec_util.rs +++ b/espanso-render/src/extension/exec_util.rs @@ -40,7 +40,7 @@ pub fn determine_path_env_variable_override(explicit_shell: Option) -> } #[cfg(not(target_os = "macos"))] -pub fn determine_path_env_variable_override(explicit_shell: Option) -> Option { +pub fn determine_path_env_variable_override(_: Option) -> Option { None } @@ -97,8 +97,3 @@ fn launch_command_and_get_output(command: &str, args: &[&str]) -> Option let output_str = String::from_utf8_lossy(&output.stdout); Some(output_str.to_string()) } - -#[cfg(not(target_os = "macos"))] -fn launch_command_and_get_output(command: &str, args: &[&str]) -> Option { - None -}