summary refs log tree commit diff
path: root/Completion/Unix/Command/_cpio
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-11-05 20:39:46 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-11-07 05:21:19 +0000
commitbb28726fa5e29b7a5640cdab13e9d7a7e838f6a6 (patch)
treef3e997b57905c7e304db2f094e9f7fb47134b139 /Completion/Unix/Command/_cpio
parent7e406125cd03faa73d645b0825f9817e7aee42e1 (diff)
downloadzsh-bb28726fa5e29b7a5640cdab13e9d7a7e838f6a6.tar.gz
zsh-bb28726fa5e29b7a5640cdab13e9d7a7e838f6a6.tar.xz
zsh-bb28726fa5e29b7a5640cdab13e9d7a7e838f6a6.zip
39840: _cpio: Declare variable's type correctly.
Diffstat (limited to 'Completion/Unix/Command/_cpio')
-rw-r--r--Completion/Unix/Command/_cpio3
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_cpio b/Completion/Unix/Command/_cpio
index 4027cc0ca..699b1d8f2 100644
--- a/Completion/Unix/Command/_cpio
+++ b/Completion/Unix/Command/_cpio
@@ -1,6 +1,7 @@
 #compdef cpio
 
-local args ig curcontext="$curcontext" state line
+local -a args
+local ig curcontext="$curcontext" state line
 local expl ret=1
 local fmts='(bar bin odc newc crc tar ustar hpbin hpodc)'