From 056d06da88b9afd91b8e5ac35840be7d4ddd1745 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 10 May 2021 08:36:23 +1000 Subject: [PATCH] pw-jack: remove unecessary $ from arithmetic variables Found by ShellCheck: SC2004: $/${} is unnecessary on arithmetic variables. --- pipewire-jack/src/pw-jack.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipewire-jack/src/pw-jack.in b/pipewire-jack/src/pw-jack.in index ee2fc7404..6376d448d 100755 --- a/pipewire-jack/src/pw-jack.in +++ b/pipewire-jack/src/pw-jack.in @@ -36,7 +36,7 @@ while getopts 'hr:vs:p:' param ; do if [ x"$PIPEWIRE_DEBUG" = x ]; then PIPEWIRE_DEBUG=3 else - PIPEWIRE_DEBUG=$(( $PIPEWIRE_DEBUG + 1 )) + PIPEWIRE_DEBUG=$(( PIPEWIRE_DEBUG + 1 )) fi export PIPEWIRE_DEBUG ;; @@ -62,7 +62,7 @@ while getopts 'hr:vs:p:' param ; do esac done -shift $(( $OPTIND - 1 )) +shift $(( OPTIND - 1 )) if [ x"$PERIOD" != x ]; then PIPEWIRE_LATENCY="$PERIOD/$SAMPLERATE"