Mercurial > hg > xemacs-beta
diff src/scrollbar-msw.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 | a8d8f419b459 |
children | 6fa9919a9a0b |
line wrap: on
line diff
--- a/src/scrollbar-msw.c Mon Sep 20 19:11:29 2004 +0000 +++ b/src/scrollbar-msw.c Mon Sep 20 19:20:08 2004 +0000 @@ -129,10 +129,10 @@ } static void -mswindows_update_scrollbar_instance_values (struct window *w, +mswindows_update_scrollbar_instance_values (struct window *UNUSED (w), struct scrollbar_instance *sb, - int new_line_increment, - int new_page_increment, + int UNUSED (new_line_increment), + int UNUSED (new_page_increment), int new_minimum, int new_maximum, int new_slider_size, int new_slider_position, @@ -184,8 +184,8 @@ } static void -mswindows_update_scrollbar_instance_status (struct window *w, - int active, int size, +mswindows_update_scrollbar_instance_status (struct window *UNUSED (w), + int UNUSED (active), int size, struct scrollbar_instance *sb) { if (SCROLLBAR_MSW_SIZE (sb) != size) @@ -199,7 +199,7 @@ } void -mswindows_handle_scrollbar_event (HWND hwnd, int code, int pos) +mswindows_handle_scrollbar_event (HWND hwnd, int code, int UNUSED (pos)) { struct frame *f; Lisp_Object win, frame; @@ -422,9 +422,9 @@ #ifdef MEMORY_USAGE_STATS static int -mswindows_compute_scrollbar_instance_usage (struct device *d, - struct scrollbar_instance *inst, - struct overhead_stats *ovstats) +mswindows_compute_scrollbar_instance_usage (struct device *UNUSED (d), + struct scrollbar_instance *inst, + struct overhead_stats *ovstats) { int total = 0;