Skip to content

Commit 137b2ce

Browse files
authored
Merge pull request uutils#8822 from cakebaker/unexpand_remove_unnecessary_condition
unexpand: remove unnecessary condition
2 parents 8b66137 + 658e0d8 commit 137b2ce

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)