2007-08-08 Michael Snyder <msnyder@access-company.com>
+ * tui/tui-layout.c (tui_set_layout): Dead code, dead variable.
+
* top.c (command_line_input): Memory leak.
* solib-svr4.c (open_symbol_file_object): Memory leak.
enum tui_layout_type cur_layout = tui_current_layout (), new_layout = UNDEFINED_LAYOUT;
int regs_populate = FALSE;
CORE_ADDR addr = extract_display_start_addr ();
- struct tui_win_info * new_win_with_focus = (struct tui_win_info *) NULL;
struct tui_win_info * win_with_focus = tui_win_with_focus ();
struct tui_layout_def * layout_def = tui_layout_def ();
break;
}
}
- if (new_win_with_focus != (struct tui_win_info *) NULL)
- tui_set_win_focus_to (new_win_with_focus);
/*
- ** Now update the window content
+ * Now update the window content.
*/
if (!regs_populate &&
(new_layout == SRC_DATA_COMMAND ||
new_layout = prev_layout ();
else
status = TUI_FAILURE;
- xfree (buf_ptr);
tui_set_layout (new_layout, dpy_type);
}
+ xfree (buf_ptr);
}
else
status = TUI_FAILURE;