[kaffe] CVS kaffe (robilad): small warnig fix in boehm-gc

Kaffe CVS cvs-commits at kaffe.org
Sun Nov 19 09:55:45 PST 2006


PatchSet 7448 
Date: 2006/11/19 17:54:33
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
small warnig fix in boehm-gc

2006-11-19  Dalibor Topic  <robilad at kaffe.org>

* kaffe/kaffevm/boehm-gc/gc-refs.c (KaffeGC_clearWeakRef):
Mark collector parameter as unused to fix compiler warning.

Members: 
	ChangeLog:1.4948->1.4949 
	kaffe/kaffevm/boehm-gc/gc-refs.c:1.6->1.7 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4948 kaffe/ChangeLog:1.4949
--- kaffe/ChangeLog:1.4948	Sun Nov 19 17:29:21 2006
+++ kaffe/ChangeLog	Sun Nov 19 17:54:33 2006
@@ -1,5 +1,10 @@
 2006-11-19  Dalibor Topic  <robilad at kaffe.org>
 
+	* kaffe/kaffevm/boehm-gc/gc-refs.c (KaffeGC_clearWeakRef): 
+	Mark collector parameter as unused to fix compiler warning.
+
+2006-11-19  Dalibor Topic  <robilad at kaffe.org>
+
 	* kaffe/kaffevm/boehm-gc/gc-kaffe.c (maybe_finalize): 
 	Changed type of last_finalized_no to GC_word to fix
 	compiler warning.
Index: kaffe/kaffe/kaffevm/boehm-gc/gc-refs.c
diff -u kaffe/kaffe/kaffevm/boehm-gc/gc-refs.c:1.6 kaffe/kaffe/kaffevm/boehm-gc/gc-refs.c:1.7
--- kaffe/kaffe/kaffevm/boehm-gc/gc-refs.c:1.6	Thu Jul 27 06:31:11 2006
+++ kaffe/kaffe/kaffevm/boehm-gc/gc-refs.c	Sun Nov 19 17:54:34 2006
@@ -301,7 +301,7 @@
  * @param mem a valid memory object.
  */
 void
-KaffeGC_clearWeakRef(Collector *collector, void* mem)
+KaffeGC_clearWeakRef(Collector *collector UNUSED, void* mem)
 { 
   uint32 idx;
   weakRefObject** objp;




More information about the kaffe mailing list