diff src/console-gtk.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 79c6ff3eef26
children a25c824ed558
line wrap: on
line diff
--- a/src/console-gtk.c	Mon Sep 20 19:11:29 2004 +0000
+++ b/src/console-gtk.c	Mon Sep 20 19:20:08 2004 +0000
@@ -37,7 +37,7 @@
 DEFINE_CONSOLE_TYPE (gtk);
 
 static int
-gtk_initially_selected_for_input (struct console *con)
+gtk_initially_selected_for_input (struct console *UNUSED (con))
 {
   return 1;
 }
@@ -46,7 +46,8 @@
    the integrity of our input, because the generic functions don't. */
 
 static Lisp_Object
-gtk_device_to_console_connection (Lisp_Object connection, Error_Behavior errb)
+gtk_device_to_console_connection (Lisp_Object connection,
+				  Error_Behavior UNUSED (errb))
 {
   /* Strip the trailing .# off of the connection, if it's there. */
 
@@ -61,7 +62,7 @@
 
 static Lisp_Object
 gtk_semi_canonicalize_console_connection (Lisp_Object connection,
-					  Error_Behavior errb)
+					  Error_Behavior UNUSED (errb))
 {
   struct gcpro gcpro1;
 
@@ -73,7 +74,8 @@
 }
 
 static Lisp_Object
-gtk_canonicalize_console_connection (Lisp_Object connection, Error_Behavior errb)
+gtk_canonicalize_console_connection (Lisp_Object connection,
+				     Error_Behavior UNUSED (errb))
 {
   Lisp_Object hostname = Qnil;
   struct gcpro gcpro1, gcpro2;
@@ -87,7 +89,7 @@
 
 static Lisp_Object
 gtk_semi_canonicalize_device_connection (Lisp_Object connection,
-				         Error_Behavior errb)
+				         Error_Behavior UNUSED (errb))
 {
   struct gcpro gcpro1;
 
@@ -99,7 +101,8 @@
 }
 
 static Lisp_Object
-gtk_canonicalize_device_connection (Lisp_Object connection, Error_Behavior errb)
+gtk_canonicalize_device_connection (Lisp_Object connection,
+				    Error_Behavior UNUSED (errb))
 {
   struct gcpro gcpro1;