mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-01 09:41:44 +02:00
unposted: silence some warnings when WARN_CREATE_GLOBAL is set
This commit is contained in:
parent
8cc1fe7081
commit
198a53dd46
3 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
|||
2008-10-10 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* unposted: Functions/Zftp/zffcache,
|
||||
Functions/Zftp/zftp_progroess: silence some warnings when
|
||||
WARN_CREATE_GLOBAL is set.
|
||||
|
||||
* unposted: Config/version.mk: 4.3.6-dev-1.
|
||||
|
||||
* unposted: Test/B06fc.ztst: use -f flag to zsh to prevent
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
# storing it in fcache_name, then generate the cache for the current
|
||||
# directory, or with argument -d clear the cache.
|
||||
|
||||
[[ $1 = -d ]] && local fcache_name
|
||||
|
||||
fcache_name=$zfconfig[fcache_$ZFTP_SESSION]
|
||||
if [[ -z $fcache_name ]]; then
|
||||
local vals
|
||||
|
|
|
@ -48,7 +48,7 @@ if [[ -n $ZFTP_TRANSFER ]]; then
|
|||
unset zftpseconds
|
||||
print 1>&2
|
||||
else
|
||||
zftpseconds=$SECONDS
|
||||
typeset -g zftpseconds=$SECONDS
|
||||
fi
|
||||
fi
|
||||
# }
|
||||
|
|
Loading…
Reference in a new issue