diff --git a/src/window.c b/src/window.c index b5df84b55ce..fd35ac8a9d8 100644 --- a/src/window.c +++ b/src/window.c @@ -3243,7 +3243,7 @@ displayed. */) window = Fsplit_window (window, Qnil, Qnil); else { - Lisp_Object upper, lower, other; + Lisp_Object upper, other; window = Fget_lru_window (frames); /* If the LRU window is selected, and big enough, @@ -3276,11 +3276,11 @@ displayed. */) window = Fframe_selected_window (call0 (Vpop_up_frame_function)); /* If window appears above or below another, even out their heights. */ - other = upper = lower = Qnil; + other = upper = Qnil; if (!NILP (XWINDOW (window)->prev)) - other = upper = XWINDOW (window)->prev, lower = window; + other = upper = XWINDOW (window)->prev; if (!NILP (XWINDOW (window)->next)) - other = lower = XWINDOW (window)->next, upper = window; + other = XWINDOW (window)->next, upper = window; if (!NILP (other) && !NILP (Veven_window_heights) /* Check that OTHER and WINDOW are vertically arrayed. */