mirror of
https://github.com/vim/vim.git
synced 2026-10-05 17:35:58 +02:00
Problem: GetRemotePtyDev() and BufUnloaded() in termdebug declare loop
variables they never use, the variable window code declares
"spaceBuffer" and never uses it, and FormatRange() in
dist/json.vim computes "indent" and never uses it.
Solution: Remove the unused declarations, loop with "_" where only the
count matters, and iterate over values() where the keys are
not needed (Hirohito Higashi).
closes: #21368
Assisted-by: Claude
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>