From: Asperatus Date: Fri, 13 May 2022 17:54:03 +0000 (-0400) Subject: xdg-ninja: remove unused variables X-Git-Tag: v0.2.0.0~90 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/commitdiff_plain/001d91454bc692504fae2e7b55303e3723387130?ds=inline;hp=-c xdg-ninja: remove unused variables Most variables were unused, and even more than that, it could cause collisions as the variable named "HELP" was defined in some functions, changing the value of the currently removed variable. --- 001d91454bc692504fae2e7b55303e3723387130 diff --git a/xdg-ninja.sh b/xdg-ninja.sh index ed8b664..4a53226 100755 --- a/xdg-ninja.sh +++ b/xdg-ninja.sh @@ -50,12 +50,6 @@ then exit fi -ERR=0 -WARN=1 -INFO=2 -SUCS=3 -HELP=4 - # Function to expand enviornment variables in string # https://stackoverflow.com/a/20316582/11110290 apply_shell_expansion() {