]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Lower variable definitions in tui_redisplay_readline
authorTom Tromey <tom@tromey.com>
Sat, 30 Mar 2024 18:19:07 +0000 (12:19 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 30 Mar 2024 18:19:07 +0000 (12:19 -0600)
commit05612aa74b507795487d68a0a56ae8ab09334082
tree7da0cce05827923c0fd16945f001a38c10683ffc
parentcb3729d378042d5bfc0f69a4b14660dc8b8a8eb5
Lower variable definitions in tui_redisplay_readline

I noticed a redundant assignment to 'prev_col' in
tui_redisplay_readline, and then went ahead and lowered most of the
variable definitions in that function to their initialization point.
gdb/tui/tui-io.c