diff options
Diffstat (limited to 'gdb/tui/tui-stack.c')
-rw-r--r-- | gdb/tui/tui-stack.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/tui/tui-stack.c b/gdb/tui/tui-stack.c index 07767bb..d527319 100644 --- a/gdb/tui/tui-stack.c +++ b/gdb/tui/tui-stack.c @@ -358,7 +358,6 @@ tui_show_frame_info (struct frame_info *fi) { struct tui_win_info *win_info; int locator_changed_p; - int i; if (fi) { @@ -473,7 +472,7 @@ tui_show_frame_info (struct frame_info *fi) return 0; tui_show_locator_content (); - for (i = 0; i < (tui_source_windows ())->count; i++) + for (int i = 0; i < (tui_source_windows ())->count; i++) { win_info = (tui_source_windows ())->list[i]; tui_clear_source_content (win_info, EMPTY_SOURCE_PROMPT); |