tRemoved old-style globals as suggested in #78 - tomb - the crypto undertaker HTML git clone git://parazyd.org/tomb.git DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit f7c1c05ad475ea3bbbc9e7a24f693a56f49a103e DIR parent b07c8ae67c20858d09d6c3516f2da0cc11b04cec HTML Author: Jaromil <jaromil@dyne.org> Date: Tue, 17 Jan 2012 17:47:42 +0100 Removed old-style globals as suggested in #78 Diffstat: M src/tomb | 12 ------------ 1 file changed, 0 insertions(+), 12 deletions(-) --- DIR diff --git a/src/tomb b/src/tomb t@@ -33,9 +33,6 @@ STEGHIDE=1 MKTEMP=1 MOUNTOPTS="rw,noatime,nodev" -#declare global variables -QUIET=0 -DEBUG=0 typeset -A global_opts typeset -A opts t@@ -1662,15 +1659,6 @@ main() { autoload colors; colors fi - ### Set global options (useless, but for code retro-compatibility) - for opt in ${(k)global_opts}; do - if [[ $opt == '-q' ]]; then - QUIET=1 - elif [[ $opt == '-D' ]]; then - DEBUG=1 - fi - done - CMD=$subcommand CMD2=$PARAM[1] CMD3=$PARAM[2]