Mercurial > hg > xemacs-beta
changeset 2212:51a17f29fab3
[xemacs-hg @ 2004-08-12 14:51:34 by james]
Remove unused local variables.
author | james |
---|---|
date | Thu, 12 Aug 2004 14:51:35 +0000 |
parents | 518f43ab0991 |
children | d7b0be86f112 |
files | src/ChangeLog src/toolbar-common.c src/window.c |
diffstat | 3 files changed, 7 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Wed Aug 11 21:50:40 2004 +0000 +++ b/src/ChangeLog Thu Aug 12 14:51:35 2004 +0000 @@ -1,3 +1,9 @@ +2004-08-12 Jerry James <james@xemacs.org> + + * window.c (margin_width_internal): Remove unused variable b. + * toolbar-common.c (common_output_toolbar_button): Remove unused + variable frame. + 2004-08-10 Jerry James <james@xemacs.org> * emacs.c (really_abort): make its return type DOESNT_RETURN.
--- a/src/toolbar-common.c Wed Aug 11 21:50:40 2004 +0000 +++ b/src/toolbar-common.c Thu Aug 12 14:51:35 2004 +0000 @@ -167,7 +167,7 @@ int shadow_thickness = 2; int x_adj, y_adj, width_adj, height_adj; struct device *d = XDEVICE (f->device); - Lisp_Object instance, frame, window, glyph; + Lisp_Object instance, window, glyph; struct toolbar_button *tb = XTOOLBAR_BUTTON (button); struct Lisp_Image_Instance *p; struct window *w; @@ -190,7 +190,6 @@ height_adj = - 2 * border_width; } - frame = wrap_frame (f); window = FRAME_LAST_NONMINIBUF_WINDOW (f); w = XWINDOW (window);
--- a/src/window.c Wed Aug 11 21:50:40 2004 +0000 +++ b/src/window.c Thu Aug 12 14:51:35 2004 +0000 @@ -1101,7 +1101,6 @@ static int margin_width_internal (struct window *w, int left_margin) { - struct buffer *b; int window_cwidth = window_char_width (w, 1); int margin_cwidth; int font_width; @@ -1116,7 +1115,6 @@ return 0; window = wrap_window (w); - b = XBUFFER (w->buffer); margin_cwidth = (left_margin ? XINT (w->left_margin_width) : XINT (w->right_margin_width));