From 001d91454bc692504fae2e7b55303e3723387130 Mon Sep 17 00:00:00 2001 From: Asperatus Date: Fri, 13 May 2022 13:54:03 -0400 Subject: [PATCH] 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. --- xdg-ninja.sh | 6 ------ 1 file changed, 6 deletions(-) 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() { -- 2.47.3