Skip to content

Commit

Permalink
fix(_comp_initialize): protect against "localvar_inherit"
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Sep 24, 2023
1 parent f51f2f0 commit 0cc8d83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bash_completion
Original file line number Diff line number Diff line change
Expand Up @@ -1332,7 +1332,7 @@ _comp_variable_assignments()
# @since 2.12
_comp_initialize()
{
local exclude="" opt_split="" outx errx inx
local exclude="" opt_split="" outx="" errx="" inx=""

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

0 comments on commit 0cc8d83

Please sign in to comment.