[git commit] shuf: remove redundant code
Denys Vlasenko
vda.linux at googlemail.com
Wed Apr 12 12:51:11 UTC 2023
commit: https://git.busybox.net/busybox/commit/?id=8696f5d380209e6aba13ffc52eced9239510b275
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
coreutils/shuf.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/coreutils/shuf.c b/coreutils/shuf.c
index fe0358e07..3483a289b 100644
--- a/coreutils/shuf.c
+++ b/coreutils/shuf.c
@@ -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;
More information about the busybox-cvs
mailing list