[kaffe] CVS kaffe (dalibor): Fixed small compiler warning on powerpc-darwin

Kaffe CVS Kaffe Mailing List <kaffe@kaffe.org>
Thu Oct 30 14:34:02 2003


PatchSet 4145 
Date: 2003/10/30 22:05:00
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Fixed small compiler warning on powerpc-darwin

Members: 
	ChangeLog:1.1737->1.1738 
	config/powerpc/sysdepCallMethod.h:1.1->1.2 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1737 kaffe/ChangeLog:1.1738
--- kaffe/ChangeLog:1.1737	Thu Oct 30 21:22:54 2003
+++ kaffe/ChangeLog	Thu Oct 30 22:05:00 2003
@@ -1,5 +1,11 @@
 2003-10-30  Dalibor Topic <robilad@kaffe.org>
 
+	* config/powerpc/sysdepCallMethod.h:
+	(sysdepCallMethod) Commented out unused switch labels to fix
+	compiler warnings on powerpc-darwin.
+	
+2003-10-30  Dalibor Topic <robilad@kaffe.org>
+
 	* kaffe/kaffevm/jni.c:
 	(Kaffe_AttachCurrentThread) Changed prototype of env
 	to void** to match spec. Renamed env to penv to match header.
Index: kaffe/config/powerpc/sysdepCallMethod.h
diff -u kaffe/config/powerpc/sysdepCallMethod.h:1.1 kaffe/config/powerpc/sysdepCallMethod.h:1.2
--- kaffe/config/powerpc/sysdepCallMethod.h:1.1	Tue Aug 14 15:37:22 2001
+++ kaffe/config/powerpc/sysdepCallMethod.h	Thu Oct 30 22:05:01 2003
@@ -334,7 +334,7 @@
 	ARG_FPR(2);
 	ARG_FPR(1);
 	ARG_FPR(0);
-	case 0:
+	/* case 0: */
 	}
 
 	/* load GPR registers from gpr[] */
@@ -347,7 +347,7 @@
 	ARG_GPR(2);
 	ARG_GPR(1);
 	ARG_GPR(0);
-	case 0:
+	/* case 0: */
 	}
 
 	/* Ensure that the assignments to f* registers won't be optimized away. */