aboutsummaryrefslogtreecommitdiff
path: root/src/scripts/xzless.in
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2018-07-27 18:10:44 +0300
committerLasse Collin <lasse.collin@tukaani.org>2019-07-13 17:17:00 +0300
commit7143b04fe49390807f355b1dad686a3d8c4dbdcf (patch)
treee703606638ce10c73e4914e75872028574a24d8f /src/scripts/xzless.in
parentliblzma: Remove an always-true condition from lzma_index_cat(). (diff)
downloadxz-7143b04fe49390807f355b1dad686a3d8c4dbdcf.tar.xz
xzless: Rename unused variables to silence static analysers.
In this particular case I don't see this affecting readability of the code. Thanks to Pavel Raiskup.
Diffstat (limited to 'src/scripts/xzless.in')
-rw-r--r--src/scripts/xzless.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/xzless.in b/src/scripts/xzless.in
index 288dd871..1b85ad6f 100644
--- a/src/scripts/xzless.in
+++ b/src/scripts/xzless.in
@@ -46,7 +46,7 @@ if test "${LESSMETACHARS+set}" != set; then
LESSMETACHARS="$space$tab$nl'"';*?"()<>[|&^`#\$%=~'
fi
-if test "$(less -V | { read less ver re && echo ${ver}; })" -ge 429; then
+if test "$(less -V | { read _ ver _ && echo ${ver}; })" -ge 429; then
# less 429 or later: LESSOPEN pipe will be used on
# standard input if $LESSOPEN begins with |-.
LESSOPEN="|-$xz -cdfq -- %s"