about summary refs log tree commit diff
path: root/Completion/Unix/Command/_bogofilter
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2008-11-02 14:12:29 +0000
committerClint Adams <clint@users.sourceforge.net>2008-11-02 14:12:29 +0000
commit6dbf2f2f4a97e2831094a73c662484ce990e7e41 (patch)
tree2b7eb40ddd7e3518a2a962eb8accf5a1ef7d9616 /Completion/Unix/Command/_bogofilter
parent1b78e1a9121111ccb628262202c112c199ffc6d9 (diff)
downloadzsh-6dbf2f2f4a97e2831094a73c662484ce990e7e41.tar.gz
zsh-6dbf2f2f4a97e2831094a73c662484ce990e7e41.tar.xz
zsh-6dbf2f2f4a97e2831094a73c662484ce990e7e41.zip
25988: declare temporary cache array as local, thanks to problem noticed by Kazuhiro NISHIYAMA.
Diffstat (limited to 'Completion/Unix/Command/_bogofilter')
-rw-r--r--Completion/Unix/Command/_bogofilter1
1 files changed, 1 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_bogofilter b/Completion/Unix/Command/_bogofilter
index 9e6ac3f88..980d3155e 100644
--- a/Completion/Unix/Command/_bogofilter
+++ b/Completion/Unix/Command/_bogofilter
@@ -3,6 +3,7 @@
 local expl ret bogotokens
 
 _bogoutil_caching_policy () {
+  local -a oldp
 
   # rebuild if cache is more than a week old
   oldp=( "$1"(mw+1) )