]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
client: remove useless variable declaration in zsh completion
authorVincent Bernat <vincent@bernat.ch>
Sun, 8 Dec 2019 05:58:34 +0000 (06:58 +0100)
committerVincent Bernat <vincent@bernat.ch>
Sun, 8 Dec 2019 05:58:34 +0000 (06:58 +0100)
src/client/completion/_lldpcli

index ff942f1bb44d04477c09d6ba3357cdc32778444f..a7b6b3b922db6de9d93eafb045f03dc151415aca 100644 (file)
@@ -25,8 +25,6 @@ __lldpcli_command () {
 }
 
 _lldpcli () {
 }
 
 _lldpcli () {
-    local curcontext="$curcontext" state line
-
     _arguments -C \
         '*-d[print more debugging information]' \
         '(- *)-v[print version number and exit]' \
     _arguments -C \
         '*-d[print more debugging information]' \
         '(- *)-v[print version number and exit]' \