summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2023-04-12 14:51:11 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2023-04-12 14:51:11 +0200
commit8696f5d380209e6aba13ffc52eced9239510b275 (patch)
tree5533e4be90e4399a11d7d915ed5943bc67183cfc
parent238dab322a630b493843a6bdf3203e93db87469a (diff)
downloadbusybox-8696f5d380209e6aba13ffc52eced9239510b275.tar.gz
shuf: remove redundant code
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--coreutils/shuf.c2
1 files changed, 0 insertions, 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;