diff src/text.h @ 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 543769b89fed
children ba4677f54a05
line wrap: on
line diff
--- a/src/text.h	Mon Sep 20 19:11:29 2004 +0000
+++ b/src/text.h	Mon Sep 20 19:20:08 2004 +0000
@@ -275,7 +275,8 @@
 
 DECLARE_INLINE_HEADER (
 Raw_Ichar
-ichar_to_raw (Ichar ch, Internal_Format fmt, Lisp_Object object)
+ichar_to_raw (Ichar ch, Internal_Format fmt,
+	      Lisp_Object UNUSED (object))
 )
 {
   switch (fmt)
@@ -299,7 +300,8 @@
 
 DECLARE_INLINE_HEADER (
 int
-ichar_fits_in_format (Ichar ch, Internal_Format fmt, Lisp_Object object)
+ichar_fits_in_format (Ichar ch, Internal_Format fmt,
+		      Lisp_Object UNUSED (object))
 )
 {
   switch (fmt)
@@ -321,8 +323,8 @@
 
 DECLARE_INLINE_HEADER (
 int
-objects_have_same_internal_representation (Lisp_Object srcobj,
-					   Lisp_Object dstobj)
+objects_have_same_internal_representation (Lisp_Object UNUSED (srcobj),
+					   Lisp_Object UNUSED (dstobj))
 )
 {
   /* &&#### implement this properly when we allow per-object format
@@ -833,7 +835,7 @@
 DECLARE_INLINE_HEADER (
 Ichar
 itext_ichar_fmt (const Ibyte *ptr, Internal_Format fmt,
-		    Lisp_Object object)
+		 Lisp_Object UNUSED (object))
 )
 {
   switch (fmt)
@@ -863,7 +865,7 @@
 DECLARE_INLINE_HEADER (
 Ichar
 itext_ichar_ascii_fmt (const Ibyte *ptr, Internal_Format fmt,
-			  Lisp_Object object)
+		       Lisp_Object UNUSED (object))
 )
 {
   switch (fmt)
@@ -929,7 +931,7 @@
 DECLARE_INLINE_HEADER (
 Bytecount
 set_itext_ichar_fmt (Ibyte *ptr, Ichar x, Internal_Format fmt,
-			Lisp_Object object)
+		     Lisp_Object UNUSED (object))
 )
 {
   switch (fmt)