Skip to content

Commit e1b535e

Browse files
author
Richard Alpe
committed
tipc: make loop variables local
1 parent 6c3942c commit e1b535e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

completions/tipc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ _tipc_media() {
1616

1717
_tipc_bearer() {
1818
local optind=$1
19-
local media
19+
local media i
2020

2121
if _tipc_media $optind; then
2222
return
@@ -73,7 +73,7 @@ _tipc_link() {
7373

7474
_tipc()
7575
{
76-
local cur prev words cword optind
76+
local cur prev words cword optind i p
7777
_init_completion || return
7878

7979
optind=1

0 commit comments

Comments
 (0)