Skip to content

Commit

Permalink
util, decode, vi: fix leak variables
Browse files Browse the repository at this point in the history
- util: esc from ble/util/keyseq2chars
- util: a, b from ble/string#escape-for-bash-specialchars
- decode: qseq1, nseq1 from ble/decode/cmap/.generate-binder-template
- vi: ret from ble/keymap:vi/update-mode-indicator
  • Loading branch information
akinomyoga committed Feb 19, 2023
1 parent 3f29bee commit 002dda7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ble-decode.sh
Expand Up @@ -1562,8 +1562,8 @@ function ble-decode-bind/cmap/.generate-binder-template {
for ccode in "${ccodes[@]}"; do
local ret
ble-decode-bind/c2dqs "$ccode"
qseq1=$qseq$ret
nseq1="$nseq $ccode"
local qseq1=$qseq$ret
local nseq1="$nseq $ccode"

builtin eval "local ent=\${_ble_decode_cmap_$tseq[$ccode]}"
if [[ ${ent%_} ]]; then
Expand Down

0 comments on commit 002dda7

Please sign in to comment.