[kaffe] CVS kaffe (dalibor): Fixed small compiler warning on parisc-hpux with gcc 3.3.1

Kaffe CVS cvs-commits at kaffe.org
Thu Sep 25 11:30:03 PDT 2003


PatchSet 4068 
Date: 2003/09/25 18:27:35
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Fixed small compiler warning on parisc-hpux with gcc 3.3.1

Members: 
	ChangeLog:1.1663->1.1664 
	libraries/clib/awt/X/clr.c:1.24->1.25 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1663 kaffe/ChangeLog:1.1664
--- kaffe/ChangeLog:1.1663	Thu Sep 25 17:26:15 2003
+++ kaffe/ChangeLog	Thu Sep 25 18:27:35 2003
@@ -1,5 +1,11 @@
 2003-09-25  Dalibor Topic <robilad at kaffe.org>
 
+	* libraries/clib/awt/X/clr.c:
+	(Java_java_awt_Toolkit_clrGetColorModel) Removed unnecessary empty
+	default statement at end of a switch statement.
+	
+2003-09-25  Dalibor Topic <robilad at kaffe.org>
+
 	* libraries/clib/awt/X/fnt.c:
 	(Java_java_awt_Toolkit_fntStringWidth)  Only declare n if
 	WORDS_BIGENDIAN is defined.
Index: kaffe/libraries/clib/awt/X/clr.c
diff -u kaffe/libraries/clib/awt/X/clr.c:1.24 kaffe/libraries/clib/awt/X/clr.c:1.25
--- kaffe/libraries/clib/awt/X/clr.c:1.24	Mon Jan 13 23:27:53 2003
+++ kaffe/libraries/clib/awt/X/clr.c	Thu Sep 25 18:27:36 2003
@@ -775,9 +775,6 @@
 	 * cm = (*env)->NewObject( env, cmClazz, cmCtorId, 8, rgbs, 0);
 	 */
 	break;
-
-  default:
-
   }
 
   return cm;




More information about the kaffe mailing list