changeset 1747:8fcb82013b26

[xemacs-hg @ 2003-10-14 16:44:14 by stephent] compiler quietus <87zng393e8.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Tue, 14 Oct 2003 16:44:16 +0000
parents 18d2b8dabcf7
children 19b0fcab3f47
files src/ChangeLog src/mule-charset.c
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Oct 14 16:34:57 2003 +0000
+++ b/src/ChangeLog	Tue Oct 14 16:44:16 2003 +0000
@@ -1,3 +1,7 @@
+2003-08-14  Stephen J. Turnbull  <stephen@xemacs.org>
+
+	* mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
+
 2003-10-13  Stephen J. Turnbull  <stephen@xemacs.org>
 
 	* nas.c (AudioLibraryVersionMajor, AudioLibraryVersionMinor):
--- a/src/mule-charset.c	Tue Oct 14 16:34:57 2003 +0000
+++ b/src/mule-charset.c	Tue Oct 14 16:44:16 2003 +0000
@@ -301,8 +301,13 @@
     }
   else
     {
+      /* awfully fragile, but correct */
+#if MAX_LEADING_BYTE_PRIVATE_2 == 255
+      if (chlook->next_allocated_2_byte_leading_byte == 0)
+#endif
       if (chlook->next_allocated_2_byte_leading_byte >
 	  MAX_LEADING_BYTE_PRIVATE_2)
+#endif
 	lb = 0;
       else
 	lb = chlook->next_allocated_2_byte_leading_byte++;