[kaffe] CVS kaffe (robilad): Fixed compiler warnings

Kaffe CVS cvs-commits at kaffe.org
Sun Sep 18 17:59:30 PDT 2005


PatchSet 6916 
Date: 2005/09/18 22:46:30
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Fixed compiler warnings

2005-09-18  Andreas Tobler  <a.tobler at schweiz.ch>

        * libraries/clib/native/VMRuntime.c
        (Java_java_lang_VMRuntime_availableProcessors):
        Mark unused parameters as unused to fix compiler warnings.

Members: 
	ChangeLog:1.4437->1.4438 
	libraries/clib/native/VMRuntime.c:1.1->1.2 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4437 kaffe/ChangeLog:1.4438
--- kaffe/ChangeLog:1.4437	Sun Sep 18 22:08:15 2005
+++ kaffe/ChangeLog	Sun Sep 18 22:46:30 2005
@@ -1,3 +1,9 @@
+2005-09-18  Andreas Tobler  <a.tobler at schweiz.ch>
+
+	* libraries/clib/native/VMRuntime.c
+	(Java_java_lang_VMRuntime_availableProcessors):
+	Mark unused parameters as unused to fix compiler warnings.
+
 2005-09-18  Dalibor Topic  <robilad at kaffe.org>
 
 	* configure.ac: (--disable-boehm-gc-configuration)
Index: kaffe/libraries/clib/native/VMRuntime.c
diff -u kaffe/libraries/clib/native/VMRuntime.c:1.1 kaffe/libraries/clib/native/VMRuntime.c:1.2
--- kaffe/libraries/clib/native/VMRuntime.c:1.1	Thu Sep 15 03:35:49 2005
+++ kaffe/libraries/clib/native/VMRuntime.c	Sun Sep 18 22:46:33 2005
@@ -57,7 +57,9 @@
  * Method:    availableProcessors
  * Signature: ()I
  */
-JNIEXPORT jint JNICALL Java_java_lang_VMRuntime_availableProcessors(JNIEnv *env, jclass clazz)
+JNIEXPORT jint JNICALL
+Java_java_lang_VMRuntime_availableProcessors(JNIEnv *env UNUSED,
+					     jclass clazz UNUSED)
 {
 #if defined(HAVE_GET_NPROCS_CONF)
 	return get_nprocs_conf();




More information about the kaffe mailing list