diff src/mule-ccl.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 804517e16990
children cf4a5f5e87ea
line wrap: on
line diff
--- a/src/mule-ccl.c	Mon Sep 20 19:11:29 2004 +0000
+++ b/src/mule-ccl.c	Mon Sep 20 19:20:08 2004 +0000
@@ -728,9 +728,9 @@
 	  }							\
 	else							\
 	  {							\
-	    Ibyte work[MAX_ICHAR_LEN];			\
+	    Ibyte work[MAX_ICHAR_LEN];				\
 	    int len;						\
-	    len = non_ascii_set_itext_ichar (work, ch);	\
+	    len = non_ascii_set_itext_ichar (work, ch);		\
 	    Dynarr_add_many (destination, work, len);		\
 	  }							\
       }								\
@@ -742,9 +742,9 @@
 	  }							\
 	else							\
 	  {							\
-	    Ibyte work[MAX_ICHAR_LEN];			\
+	    Ibyte work[MAX_ICHAR_LEN];				\
 	    int len;						\
-	    len = non_ascii_set_itext_ichar (work, ch);	\
+	    len = non_ascii_set_itext_ichar (work, ch);		\
 	    Dynarr_add_many (destination, work, len);		\
 	  }							\
       }								\
@@ -755,8 +755,8 @@
    cannot handle a multibyte string except for Control-1 characters. */
 #define CCL_WRITE_STRING(len)					\
   do {								\
-    Ibyte work[MAX_ICHAR_LEN];				\
-    int ch, bytes;						\
+    Ibyte work[MAX_ICHAR_LEN];					\
+    int ch;							\
     if (!destination)						\
       CCL_INVALID_CMD;						\
     else if (conversion_mode == CCL_MODE_ENCODING)		\
@@ -783,7 +783,7 @@
 	      }							\
 	    else						\
 	      {							\
-		bytes = non_ascii_set_itext_ichar (work, ch); \
+		non_ascii_set_itext_ichar (work, ch);		\
 		Dynarr_add_many (destination, work, len);	\
 	      }							\
 	  }							\
@@ -800,7 +800,7 @@
 	      }							\
 	    else						\
 	      {							\
-		bytes = non_ascii_set_itext_ichar (work, ch); \
+		non_ascii_set_itext_ichar (work, ch);		\
 		Dynarr_add_many (destination, work, len);	\
 	      }							\
 	  }							\