From ac6b299e8b95420de749daed2c93b9ff516c71cb Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sun, 31 Oct 2010 18:23:16 +0100 Subject: Remove dead assignments --- src/gui/gui-layout.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gui') diff --git a/src/gui/gui-layout.c b/src/gui/gui-layout.c index 65633cb59..31b5c797b 100644 --- a/src/gui/gui-layout.c +++ b/src/gui/gui-layout.c @@ -530,7 +530,7 @@ void gui_layout_window_apply_tree (struct t_gui_layout_window *layout_window, int internal_id_current_window) { - struct t_gui_window *new_window, *old_window; + struct t_gui_window *old_window; if (layout_window->split_pct != 0) { @@ -539,13 +539,13 @@ gui_layout_window_apply_tree (struct t_gui_layout_window *layout_window, if (layout_window->split_horiz) { - new_window = gui_window_split_horizontal (gui_current_window, - layout_window->split_pct); + gui_window_split_horizontal (gui_current_window, + layout_window->split_pct); } else { - new_window = gui_window_split_vertical (gui_current_window, - layout_window->split_pct); + gui_window_split_vertical (gui_current_window, + layout_window->split_pct); } if (layout_window->child2) -- cgit v1.2.3