[kaffe] CVS kaffe (robilad): Don't try to return from a void function

Kaffe CVS cvs-commits at kaffe.org
Sat Nov 6 18:27:16 PST 2004


PatchSet 5409 
Date: 2004/11/07 02:22:43
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Don't try to return from a void function

2004-11-06  Eric Anholt  <eta at lclark.edu>

        * kaffe/kaffevm/intrp/native-wrapper.c:
        Don't try to return something from a void function.

Members: 
	ChangeLog:1.2958->1.2959 
	kaffe/kaffevm/intrp/native-wrapper.c:1.3->1.4 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2958 kaffe/ChangeLog:1.2959
--- kaffe/ChangeLog:1.2958	Sun Nov  7 01:27:47 2004
+++ kaffe/ChangeLog	Sun Nov  7 02:22:43 2004
@@ -1,5 +1,10 @@
 2004-11-06  Eric Anholt  <eta at lclark.edu>
 
+	* kaffe/kaffevm/intrp/native-wrapper.c:
+	Don't try to return something from a void function.
+
+2004-11-06  Eric Anholt  <eta at lclark.edu>
+
 	* kaffe/kaffevm/classMethod.c:
 	Cast appropriately to avoid a warning.
 
Index: kaffe/kaffe/kaffevm/intrp/native-wrapper.c
diff -u kaffe/kaffe/kaffevm/intrp/native-wrapper.c:1.3 kaffe/kaffe/kaffevm/intrp/native-wrapper.c:1.4
--- kaffe/kaffe/kaffevm/intrp/native-wrapper.c:1.3	Thu Aug 19 19:29:03 2004
+++ kaffe/kaffe/kaffevm/intrp/native-wrapper.c	Sun Nov  7 02:22:45 2004
@@ -21,5 +21,4 @@
 engine_create_wrapper (Method *meth, void *func)
 {
 	METHOD_CODE_START(meth) = func;
-	return meth;
 }




More information about the kaffe mailing list