[kaffe] CVS kaffe (robilad): small warning fix

Kaffe CVS cvs-commits at kaffe.org
Sat Apr 22 14:06:19 PDT 2006


PatchSet 7263 
Date: 2006/04/22 20:56:06
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
small warning fix

2006-04-22  Dalibor Topic  <robilad at kaffe.org>

* kaffe/kaffevm/intrp/methodcalls.c (engine_dispatchException):
Mark parameter throwable as unused to fix compiler warning.

Members: 
	ChangeLog:1.4768->1.4769 
	kaffe/kaffevm/intrp/methodcalls.c:1.14->1.15 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4768 kaffe/ChangeLog:1.4769
--- kaffe/ChangeLog:1.4768	Sat Apr 22 19:41:49 2006
+++ kaffe/ChangeLog	Sat Apr 22 20:56:06 2006
@@ -1,5 +1,10 @@
 2006-04-22  Dalibor Topic  <robilad at kaffe.org>
 
+	* kaffe/kaffevm/intrp/methodcalls.c (engine_dispatchException): 
+	Mark parameter throwable as unused to fix compiler warning.
+
+2006-04-22  Dalibor Topic  <robilad at kaffe.org>
+
 	* kaffe/kaffevm/systems/unix-jthreads/signal.c (restoreSyncSignalHandler) 
 	(restoreAsyncSignalHandler): Split into two versions for systems with and
 	without sigaction. In the latter case, do nothing and mark the paraters
Index: kaffe/kaffe/kaffevm/intrp/methodcalls.c
diff -u kaffe/kaffe/kaffevm/intrp/methodcalls.c:1.14 kaffe/kaffe/kaffevm/intrp/methodcalls.c:1.15
--- kaffe/kaffe/kaffevm/intrp/methodcalls.c:1.14	Sat Apr  1 22:27:29 2006
+++ kaffe/kaffe/kaffevm/intrp/methodcalls.c	Sat Apr 22 20:56:09 2006
@@ -222,7 +222,7 @@
 
 void engine_dispatchException(uintp framePointer,
 			      uintp handler, 
-			      struct Hjava_lang_Throwable *throwable)
+			      struct Hjava_lang_Throwable *throwable UNUSED)
 {
   vmExcept_setPC((VmExceptHandler *)framePointer, handler);
   vmExcept_jumpToHandler((VmExceptHandler *)framePointer); /* Does not return */




More information about the kaffe mailing list