aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorGerd Moellmann2000-09-21 20:54:57 +0000
committerGerd Moellmann2000-09-21 20:54:57 +0000
commit6bbd7a29592594e23e5cb98467e608f10b00f877 (patch)
tree1e60389bc0f5c349fc0a39b2609b1a60b084e133 /src/window.c
parent8179cccd88a3f114b0e4891c033ecd302dfb094e (diff)
downloademacs-6bbd7a29592594e23e5cb98467e608f10b00f877.tar.gz
emacs-6bbd7a29592594e23e5cb98467e608f10b00f877.zip
Avoid some more compiler warnings.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c
index d9c807ccf93..6cdf2943e60 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1770,6 +1770,9 @@ window_loop (type, obj, mini, frames)
1770 && NILP (XBUFFER (w->buffer)->name)) 1770 && NILP (XBUFFER (w->buffer)->name))
1771 abort (); 1771 abort ();
1772 break; 1772 break;
1773
1774 case WINDOW_LOOP_UNUSED:
1775 break;
1773 } 1776 }
1774 } 1777 }
1775 1778
@@ -3476,6 +3479,8 @@ shrink_window_lowest_first (w, height)
3476 Lisp_Object last_child; 3479 Lisp_Object last_child;
3477 int delta = old_height - height; 3480 int delta = old_height - height;
3478 int last_top; 3481 int last_top;
3482
3483 last_child = Qnil;
3479 3484
3480 /* Find the last child. We are taking space from lowest windows 3485 /* Find the last child. We are taking space from lowest windows
3481 first, so we iterate over children from the last child 3486 first, so we iterate over children from the last child