aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-windata.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-05 22:53:54 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-05 22:53:54 +0000
commit0043e6a5cce8d245bc331f567f2714b954731b20 (patch)
tree215aba3f3625b092eb1f25966c0b941912e75c55 /gdb/tui/tui-windata.c
parentc31a71f44f3e8c56d1bce34c31b5da867a726477 (diff)
downloadgdb-0043e6a5cce8d245bc331f567f2714b954731b20.zip
gdb-0043e6a5cce8d245bc331f567f2714b954731b20.tar.gz
gdb-0043e6a5cce8d245bc331f567f2714b954731b20.tar.bz2
2010-05-05 Michael Snyder <msnyder@vmware.com>
* tui/tui-interp.c (_initialize_tui_interp): Delete unused variable. * tui/tui-regs.c tui_display_registers_from): Delete unused variable. (tui_check_register_values): Delete unused variable. (tui_register_format): Delete unused variable. * tui/tui-win.c (_initialize_tui_win): Delete unused variable. * tui/tui-windata.c (tui_display_data_from_line): Delete unused variables. (tui_vertical_data_scroll): Delete unused variables.
Diffstat (limited to 'gdb/tui/tui-windata.c')
-rw-r--r--gdb/tui/tui-windata.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/tui/tui-windata.c b/gdb/tui/tui-windata.c
index dd85f8e..54baf84 100644
--- a/gdb/tui/tui-windata.c
+++ b/gdb/tui/tui-windata.c
@@ -168,7 +168,6 @@ tui_display_data_from_line (int line_no)
tui_display_registers_from_line (_line_no, TRUE);
else
{
- int element_no, start_line_no;
int regs_last_line = tui_last_regs_line_no ();
@@ -283,8 +282,6 @@ tui_vertical_data_scroll (enum tui_scroll_direction scroll_direction,
if (first_line >= 0)
{
- int last_element_no, last_line;
-
if (scroll_direction == FORWARD_SCROLL)
first_line += num_to_scroll;
else