mirror of
https://github.com/uutils/coreutils.git
synced 2025-12-23 08:47:37 +00:00
unexpand: remove unnecessary condition
This commit is contained in:
parent
af27562af9
commit
658e0d8796
1 changed files with 1 additions and 1 deletions
|
|
@ -328,7 +328,7 @@ fn unexpand_line(
|
|||
let mut pctype = CharType::Other;
|
||||
|
||||
// Fast path for leading spaces in non-UTF8 mode: count consecutive spaces/tabs at start
|
||||
if !options.uflag && init && !options.aflag {
|
||||
if !options.uflag && !options.aflag {
|
||||
// In default mode (not -a), we only convert leading spaces
|
||||
// So we can batch process them and then copy the rest
|
||||
while byte < buf.len() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue