From ab51b26006f024a93a3132d3329f2040cd3d0828 Mon Sep 17 00:00:00 2001 From: oech3 <79379754+oech3@users.noreply.github.com> Date: Sun, 18 Oct 2026 09:31:59 +0900 Subject: [PATCH] stty: fix clippy::match_same_arms --- src/uu/stty/src/stty.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/uu/stty/src/stty.rs b/src/uu/stty/src/stty.rs index 21f66657411..8f77f2e0458 100644 --- a/src/uu/stty/src/stty.rs +++ b/src/uu/stty/src/stty.rs @@ -1106,17 +1106,7 @@ fn get_sane_control_char(cc_index: S) -> u8 { } // Default values for control chars not in the sane list match cc_index { - S::VEOL => 0, - S::VEOL2 => 0, S::VMIN => 1, - #[cfg(not(any( - all(target_os = "linux", target_arch = "sparc64"), - target_os = "illumos", - target_os = "solaris" - )))] - S::VTIME => 0, - #[cfg(target_os = "linux")] - S::VSWTC => 0, _ => 0, } }