← Commit list

8696f5d38

Denys Vlasenko
Denys Vlasenko
2023-04-12
SUCCESS Duration: 155s

Subject

shuf: remove redundant code

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

coreutils/shuf.c+0 -2
@@ -140,8 +140,6 @@ int shuf_main(int argc, char **argv)
}
pfx_len = a - opt_i_str; /* can end up being 0 */
padding_width -= pfx_len;
- lo = xatoull(a);
- hi = xatoull(b);
} else {
/* Undo leading zero 'eating' (think "0-9") */
a = opt_i_str;