Mercurial > hg > xemacs-beta
diff src/frame-x.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 | 61855263cb07 |
children | ecf1ebac70d8 |
line wrap: on
line diff
--- a/src/frame-x.c Mon Sep 20 19:11:29 2004 +0000 +++ b/src/frame-x.c Mon Sep 20 19:20:08 2004 +0000 @@ -583,7 +583,7 @@ } static int -x_internal_frame_property_p (struct frame *f, Lisp_Object property) +x_internal_frame_property_p (struct frame *UNUSED (f), Lisp_Object property) { return EQ (property, Qleft) || EQ (property, Qtop) @@ -1472,7 +1472,7 @@ before the user moves the mouse for the first time. */ static void -x_send_synthetic_mouse_event (struct frame *f) +x_send_synthetic_mouse_event (struct frame *UNUSED (f)) { /* #### write this function. */ } @@ -1759,7 +1759,8 @@ } static void -x_layout_widgets (Widget w, XtPointer client_data, XtPointer call_data) +x_layout_widgets (Widget UNUSED (w), XtPointer client_data, + XtPointer call_data) { struct frame *f = (struct frame *) client_data; EmacsManagerResizeStruct *emst = (EmacsManagerResizeStruct *) call_data; @@ -1799,7 +1800,8 @@ } static void -x_do_query_geometry (Widget w, XtPointer client_data, XtPointer call_data) +x_do_query_geometry (Widget UNUSED (w), XtPointer client_data, + XtPointer call_data) { struct frame *f = (struct frame *) client_data; EmacsManagerQueryGeometryStruct *emst = @@ -2135,7 +2137,7 @@ static void x_init_frame_1 (struct frame *f, Lisp_Object props, - int frame_name_is_defaulted) + int UNUSED (frame_name_is_defaulted)) { /* This function can GC */ Lisp_Object device = FRAME_DEVICE (f); @@ -2169,7 +2171,7 @@ } static void -x_init_frame_2 (struct frame *f, Lisp_Object props) +x_init_frame_2 (struct frame *f, Lisp_Object UNUSED (props)) { /* Set up the values of the widget/frame. A case could be made for putting this inside of the widget's initialize method. */