Mercurial > hg > xemacs-beta
diff src/window.c @ 2286:04bc9d2f42c7
[xemacs-hg @ 2004-09-20 19:18:55 by james]
Mark all unused parameters as unused. Also eliminate some unneeded local
variables.
author | james |
---|---|
date | Mon, 20 Sep 2004 19:20:08 +0000 |
parents | 51a17f29fab3 |
children | 7fa4bc78a35d |
line wrap: on
line diff
--- a/src/window.c Mon Sep 20 19:11:29 2004 +0000 +++ b/src/window.c Mon Sep 20 19:20:08 2004 +0000 @@ -265,7 +265,8 @@ } static void -print_window (Lisp_Object obj, Lisp_Object printcharfun, int escapeflag) +print_window (Lisp_Object obj, Lisp_Object printcharfun, + int UNUSED (escapeflag)) { if (print_readably) printing_unreadable_object ("#<window 0x%x>", XWINDOW (obj)->header.uid); @@ -280,7 +281,7 @@ } static void -finalize_window (void *header, int for_disksave) +finalize_window (void *header, int UNUSED (for_disksave)) { struct window *w = (struct window *) header; @@ -960,7 +961,7 @@ /* Called from invalidate_vertical_divider_cache_in_frame */ int invalidate_vertical_divider_cache_in_window (struct window *w, - void *u_n_u_s_e_d) + void *UNUSED (unused)) { w->need_vertical_divider_valid_p = 0; return 0; @@ -5048,17 +5049,18 @@ static void -modeline_shadow_thickness_changed (Lisp_Object specifier, struct window *w, - Lisp_Object oldval) +modeline_shadow_thickness_changed (Lisp_Object UNUSED (specifier), + struct window *w, + Lisp_Object UNUSED (oldval)) { w->shadow_thickness_changed = 1; MARK_WINDOWS_CHANGED (w); } static void -vertical_divider_changed_in_window (Lisp_Object specifier, +vertical_divider_changed_in_window (Lisp_Object UNUSED (specifier), struct window *w, - Lisp_Object oldval) + Lisp_Object UNUSED (oldval)) { MARK_WINDOWS_CHANGED (w); MARK_FRAME_WINDOWS_STRUCTURE_CHANGED (XFRAME (WINDOW_FRAME (w))); @@ -5066,8 +5068,9 @@ /* also used in scrollbar.c */ void -some_window_value_changed (Lisp_Object specifier, struct window *w, - Lisp_Object oldval) +some_window_value_changed (Lisp_Object UNUSED (specifier), + struct window *w, + Lisp_Object UNUSED (oldval)) { MARK_WINDOWS_CHANGED (w); }