[kaffe] CVS kaffe (robilad): Fixed unused parameter warnings in jvmpi_kaffe.c

Kaffe CVS cvs-commits at kaffe.org
Fri Aug 19 14:05:05 PDT 2005


PatchSet 6850 
Date: 2005/08/19 20:57:14
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Fixed unused parameter warnings in jvmpi_kaffe.c

2005-08-19  Dalibor Topic  <robilad at kaffe.org>

        * kaffe/jvmpi/jvmpi_kaffe.c
        (jvmpiDisableEvent, jvmpiEnableEvent): Mark unused parameters as UNUSED.

Members: 
	ChangeLog:1.4373->1.4374 
	kaffe/jvmpi/jvmpi_kaffe.c:1.15->1.16 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4373 kaffe/ChangeLog:1.4374
--- kaffe/ChangeLog:1.4373	Fri Aug 19 20:54:41 2005
+++ kaffe/ChangeLog	Fri Aug 19 20:57:14 2005
@@ -1,5 +1,10 @@
 2005-08-19  Dalibor Topic  <robilad at kaffe.org>
 
+	* kaffe/jvmpi/jvmpi_kaffe.c 
+	(jvmpiDisableEvent, jvmpiEnableEvent): Mark unused parameters as UNUSED.
+
+2005-08-19  Dalibor Topic  <robilad at kaffe.org>
+
 	* kaffe/kaffevm/support.h: Added include for string.h for alpha-linux.
 
 2005-08-19  Riccardo Mottola  <riccardo at kaffe.org>
Index: kaffe/kaffe/jvmpi/jvmpi_kaffe.c
diff -u kaffe/kaffe/jvmpi/jvmpi_kaffe.c:1.15 kaffe/kaffe/jvmpi/jvmpi_kaffe.c:1.16
--- kaffe/kaffe/jvmpi/jvmpi_kaffe.c:1.15	Thu Jul 21 13:03:28 2005
+++ kaffe/kaffe/jvmpi/jvmpi_kaffe.c	Fri Aug 19 20:57:19 2005
@@ -334,7 +334,7 @@
 	return( retval );
 }
 
-static jint jvmpiDisableEvent(jint event_type, void *arg)
+static jint jvmpiDisableEvent(jint event_type, void *arg UNUSED)
 {
 	jint retval;
 
@@ -358,7 +358,7 @@
 	gc_disableGC();
 }
 
-static jint jvmpiEnableEvent(jint event_type, void *arg)
+static jint jvmpiEnableEvent(jint event_type, void *arg UNUSED)
 {
 	jint retval = JVMPI_NOT_AVAILABLE;
 	




More information about the kaffe mailing list