Mercurial > hg > xemacs-beta
diff src/device-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 | ecf1ebac70d8 |
line wrap: on
line diff
--- a/src/device-msw.c Mon Sep 20 19:11:29 2004 +0000 +++ b/src/device-msw.c Mon Sep 20 19:20:08 2004 +0000 @@ -136,7 +136,7 @@ /************************************************************************/ static void -mswindows_init_device (struct device *d, Lisp_Object props) +mswindows_init_device (struct device *d, Lisp_Object UNUSED (props)) { HDC hdc; WNDCLASSEXW wc; @@ -252,7 +252,8 @@ } static void -mswindows_finish_init_device (struct device *d, Lisp_Object props) +mswindows_finish_init_device (struct device *UNUSED (d), + Lisp_Object UNUSED (props)) { #ifdef HAVE_DRAGNDROP /* Tell pending clients we are ready. */ @@ -488,7 +489,7 @@ /************************************************************************/ static void -msprinter_init_device (struct device *d, Lisp_Object props) +msprinter_init_device (struct device *d, Lisp_Object UNUSED (props)) { DEVMODEW *pdm; LONG dm_size; @@ -790,7 +791,7 @@ } Lisp_Object -mswindows_handle_print_dialog_box (struct frame *f, Lisp_Object keys) +mswindows_handle_print_dialog_box (struct frame *UNUSED (f), Lisp_Object keys) { Lisp_Object device = Qunbound, settings = Qunbound; DWORD flags = PD_NOSELECTION; @@ -870,7 +871,8 @@ } Lisp_Object -mswindows_handle_page_setup_dialog_box (struct frame *f, Lisp_Object keys) +mswindows_handle_page_setup_dialog_box (struct frame *UNUSED (f), + Lisp_Object keys) { Lisp_Object device = Qunbound, settings = Qunbound; Lisp_Object plist = Qnil; @@ -1114,7 +1116,7 @@ static void print_devmode (Lisp_Object obj, Lisp_Object printcharfun, - int escapeflag) + int UNUSED (escapeflag)) { Lisp_Devmode *dm = XDEVMODE (obj); if (print_readably) @@ -1146,7 +1148,7 @@ } static int -equal_devmode (Lisp_Object obj1, Lisp_Object obj2, int depth) +equal_devmode (Lisp_Object obj1, Lisp_Object obj2, int UNUSED (depth)) { Lisp_Devmode *dm1 = XDEVMODE (obj1); Lisp_Devmode *dm2 = XDEVMODE (obj2);