Skip to content

Commit 658e0d8

Browse files
committed
unexpand: remove unnecessary condition
1 parent af27562 commit 658e0d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/uu/unexpand/src/unexpand.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ fn unexpand_line(
328328
let mut pctype = CharType::Other;
329329

330330
// Fast path for leading spaces in non-UTF8 mode: count consecutive spaces/tabs at start
331-
if !options.uflag && init && !options.aflag {
331+
if !options.uflag && !options.aflag {
332332
// In default mode (not -a), we only convert leading spaces
333333
// So we can batch process them and then copy the rest
334334
while byte < buf.len() {

0 commit comments

Comments
 (0)