summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-10-31 18:23:16 +0100
committerSebastien Helleu <flashcode@flashtux.org>2010-10-31 18:23:16 +0100
commitac6b299e8b95420de749daed2c93b9ff516c71cb (patch)
tree87966190199f96f719d2bcfecd40795fdaa9e1b4 /src/gui
parent06b48ccf8367ab4433fd7e0b3bcd26afb635ff92 (diff)
downloadweechat-ac6b299e8b95420de749daed2c93b9ff516c71cb.zip
Remove dead assignments
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui-layout.c10
1 files changed, 5 insertions, 5 deletions
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)