about summary refs log tree commit diff
path: root/Functions/Zftp/zftp_progress
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-10-10 13:20:05 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-10-10 13:20:05 +0000
commit198a53dd46ee8cf48eefa70aa51a821139b505b1 (patch)
tree54cb4fcc76ed335f8028e05a2ce95a18632f30e1 /Functions/Zftp/zftp_progress
parent8cc1fe70817d5f743d201355603347931c25a729 (diff)
downloadzsh-198a53dd46ee8cf48eefa70aa51a821139b505b1.tar.gz
zsh-198a53dd46ee8cf48eefa70aa51a821139b505b1.tar.xz
zsh-198a53dd46ee8cf48eefa70aa51a821139b505b1.zip
unposted: silence some warnings when WARN_CREATE_GLOBAL is set
Diffstat (limited to 'Functions/Zftp/zftp_progress')
-rw-r--r--Functions/Zftp/zftp_progress2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Zftp/zftp_progress b/Functions/Zftp/zftp_progress
index cc6195661..6bc873288 100644
--- a/Functions/Zftp/zftp_progress
+++ b/Functions/Zftp/zftp_progress
@@ -48,7 +48,7 @@ if [[ -n $ZFTP_TRANSFER ]]; then
     unset zftpseconds
     print 1>&2
   else
-    zftpseconds=$SECONDS
+    typeset -g zftpseconds=$SECONDS
   fi
 fi
 # }