diff options
author | Patrick Palka <patrick@parcs.ath.cx> | 2015-02-17 08:06:10 -0500 |
---|---|---|
committer | Patrick Palka <patrick@parcs.ath.cx> | 2015-02-17 08:06:10 -0500 |
commit | 69efdff130b843838e791065335b44d5f91f7075 (patch) | |
tree | ac5ed0b08967db2b7215c141143446fd866df64f /gdb/ChangeLog | |
parent | f8e5e23e3dc46042fcf5fad6013e6fa8db13ec43 (diff) | |
download | gdb-69efdff130b843838e791065335b44d5f91f7075.zip gdb-69efdff130b843838e791065335b44d5f91f7075.tar.gz gdb-69efdff130b843838e791065335b44d5f91f7075.tar.bz2 |
Remove superfluous function key_is_command_char()
The function key_is_command_char() is simply a predicate that determines
whether the function tui_dispatch_ctrl_char() will do anything useful.
Since tui_dispatch_ctrl_char() performs the same checks as
key_is_command_char() it is unnecessary to keep key_is_command_char()
around. This patch removes this useless function and instead
unconditionally calls tui_dispatch_ctrl_char() inside its only caller,
tui_getc().
gdb/ChangeLog:
* tui/tui-io.c (tui_getc): Don't call key_is_command_char.
(key_is_command_char): Delete.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e576000..bf98df1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2015-02-17 Patrick Palka <patrick@parcs.ath.cx> + + * tui/tui-io.c (tui_getc): Don't call key_is_command_char. + (key_is_command_char): Delete. + 2015-02-17 Pedro Alves <palves@redhat.com> * tui/tui.c (tui_enable): Resize windows before anything |