diff options
author | Tom Tromey <tom@tromey.com> | 2019-07-14 09:07:10 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-08-30 12:57:03 -0600 |
commit | 0670413d0eb264302e10a1baa163bc9c8c279a21 (patch) | |
tree | c8fb97ae6ca24c887f3c538c8ffd597a88679642 /readline/rltty.h | |
parent | 18bb55c7225dfd07ec8d75226a83da1872db8b90 (diff) | |
download | gdb-0670413d0eb264302e10a1baa163bc9c8c279a21.zip gdb-0670413d0eb264302e10a1baa163bc9c8c279a21.tar.gz gdb-0670413d0eb264302e10a1baa163bc9c8c279a21.tar.bz2 |
Remove some checks of .empty()
A few methods in tui_data_window check whether the contents are empty;
but all the callers already check this, so these calls can be removed.
gdb/ChangeLog
2019-08-30 Tom Tromey <tom@tromey.com>
* tui/tui-regs.c (tui_data_window::last_regs_line_no)
(tui_data_window::display_registers_from)
(tui_data_window::display_reg_element_at_line)
(tui_data_window::display_registers_from_line): Remove checks of
"empty".
Diffstat (limited to 'readline/rltty.h')
0 files changed, 0 insertions, 0 deletions