diff src/dialog-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 a8d8f419b459
children 4d52aea479a2
line wrap: on
line diff
--- a/src/dialog-x.c	Mon Sep 20 19:11:29 2004 +0000
+++ b/src/dialog-x.c	Mon Sep 20 19:20:08 2004 +0000
@@ -128,8 +128,8 @@
   int count;
   Lisp_Object wv_closure, gui_item;
   Lisp_Object question = Qnil;
-  Lisp_Object title    = Qnil;  /* #### currently unused */
   Lisp_Object buttons  = Qnil;
+  /* Lisp_Object title = Qnil;  #### currently unused */
 
   {
     EXTERNAL_PROPERTY_LIST_LOOP_3 (key, value, keys)
@@ -142,7 +142,7 @@
 	else if (EQ (key, Q_title))
 	  {
 	    CHECK_STRING (value);
-	    title = value;
+	    /* title = value; */
 	  }
 	else if (EQ (key, Q_buttons))
 	  {
@@ -253,7 +253,7 @@
 {
   int dbox_id;
   widget_value *data;
-  Widget parent, dbox;
+  Widget parent;
 
   if (!EQ (type, Qquestion))
     signal_error (Qunimplemented, "Dialog box type", type);
@@ -263,7 +263,7 @@
   parent = FRAME_X_SHELL_WIDGET (f);
 
   dbox_id = new_lwlib_id ();
-  dbox = lw_create_widget (data->name, "dialog", dbox_id, data, parent, 1, 0,
+  (void) lw_create_widget (data->name, "dialog", dbox_id, data, parent, 1, 0,
 			   dbox_selection_callback, 0);
   lw_modify_all_widgets (dbox_id, data, True);
   lw_modify_all_widgets (dbox_id, data->contents, True);