tomb

the crypto undertaker
git clone git://parazyd.org/tomb.git
Log | Files | Refs | README | LICENSE

commit f7c1c05ad475ea3bbbc9e7a24f693a56f49a103e
parent b07c8ae67c20858d09d6c3516f2da0cc11b04cec
Author: Jaromil <jaromil@dyne.org>
Date:   Tue, 17 Jan 2012 17:47:42 +0100

Removed old-style globals as suggested in #78

Diffstat:
Msrc/tomb | 12------------
1 file changed, 0 insertions(+), 12 deletions(-)

diff --git a/src/tomb b/src/tomb @@ -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 @@ -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]