aboutsummaryrefslogtreecommitdiff
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-w32-8696f5d380209e6aba13ffc52eced9239510b275.tar.gz
busybox-w32-8696f5d380209e6aba13ffc52eced9239510b275.tar.bz2
busybox-w32-8696f5d380209e6aba13ffc52eced9239510b275.zip
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)
140 } 140 }
141 pfx_len = a - opt_i_str; /* can end up being 0 */ 141 pfx_len = a - opt_i_str; /* can end up being 0 */
142 padding_width -= pfx_len; 142 padding_width -= pfx_len;
143 lo = xatoull(a);
144 hi = xatoull(b);
145 } else { 143 } else {
146 /* Undo leading zero 'eating' (think "0-9") */ 144 /* Undo leading zero 'eating' (think "0-9") */
147 a = opt_i_str; 145 a = opt_i_str;