Skip to content

Commit 0cc8d83

Browse files
committed
fix(_comp_initialize): protect against "localvar_inherit"
1 parent f51f2f0 commit 0cc8d83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bash_completion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1332,7 +1332,7 @@ _comp_variable_assignments()
13321332
# @since 2.12
13331333
_comp_initialize()
13341334
{
1335-
local exclude="" opt_split="" outx errx inx
1335+
local exclude="" opt_split="" outx="" errx="" inx=""
13361336

13371337
local flag OPTIND=1 OPTARG="" OPTERR=0
13381338
while getopts "n:e:o:i:s" flag "$@"; do

0 commit comments

Comments
 (0)