[kaffe] CVS kaffe (doogie): Add UNUSED to a bunch of places.

Kaffe CVS cvs-commits at kaffe.org
Fri Apr 2 13:43:04 PST 2004


PatchSet 4607 
Date: 2004/04/02 21:27:49
Author: doogie
Branch: HEAD
Tag: (none) 
Log:
Add UNUSED to a bunch of places.

Members: 
	ChangeLog:1.2184->1.2185 
	kaffe/kaffeh/support.c:1.41->1.42 
	kaffe/kaffevm/classMethod.c:1.116->1.117 
	kaffe/kaffevm/classPool.c:1.23->1.24 
	kaffe/kaffevm/code.c:1.12->1.13 
	kaffe/kaffevm/exception.c:1.80->1.81 
	kaffe/kaffevm/gcFuncs.c:1.51->1.52 
	kaffe/kaffevm/jni.c:1.105->1.106 
	kaffe/kaffevm/jit3/icode.c:1.38->1.39 
	kaffe/kaffevm/jit3/machine.c:1.48->1.49 
	kaffe/kaffevm/jit3/registers.c:1.12->1.13 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2184 kaffe/ChangeLog:1.2185
--- kaffe/ChangeLog:1.2184	Fri Apr  2 20:14:38 2004
+++ kaffe/ChangeLog	Fri Apr  2 21:27:49 2004
@@ -1,3 +1,12 @@
+2004-04-02  Adam Heath <doogie at debian.org>
+
+	* kaffe/kaffeh/support.c, kaffe/kaffevm/classMethod.c
+	  kaffe/kaffevm/classPool.c, kaffe/kaffevm/code.c
+	  kaffe/kaffevm/exception.c, kaffe/kaffevm/gcFuncs.c
+	  kaffe/kaffevm/jni.c, kaffe/kaffevm/jit3/icode.c
+	  kaffe/kaffevm/jit3/machine.c, kaffe/kaffevm/jit3/registers.c:
+        Add UNUSED to a bunch of places.
+
 2004-04-02  Guilhem Lavaux <guilhem at kaffe.org>
 
         * kaffe/kaffevm/systems/unix-jthreads/jthread.h:
Index: kaffe/kaffe/kaffeh/support.c
diff -u kaffe/kaffe/kaffeh/support.c:1.41 kaffe/kaffe/kaffeh/support.c:1.42
--- kaffe/kaffe/kaffeh/support.c:1.41	Thu Apr  1 16:23:50 2004
+++ kaffe/kaffe/kaffeh/support.c	Fri Apr  2 21:27:39 2004
@@ -625,7 +625,7 @@
 }
 
 void
-finishMethods (Hjava_lang_Class *this)
+finishMethods (Hjava_lang_Class *this UNUSED)
 {
 	const char *str;
 	const char *tsig;
Index: kaffe/kaffe/kaffevm/classMethod.c
diff -u kaffe/kaffe/kaffevm/classMethod.c:1.116 kaffe/kaffe/kaffevm/classMethod.c:1.117
--- kaffe/kaffe/kaffevm/classMethod.c:1.116	Mon Mar 29 21:39:14 2004
+++ kaffe/kaffe/kaffevm/classMethod.c	Fri Apr  2 21:27:44 2004
@@ -1029,7 +1029,7 @@
  * Read in InnerClasses declares for a class
  */
 bool
-addInnerClasses(Hjava_lang_Class* c, uint32 len, classFile* fp,
+addInnerClasses(Hjava_lang_Class* c, uint32 len UNUSED, classFile* fp,
 		errorInfo *einfo)
 {
 	int i;
@@ -1251,7 +1251,7 @@
 }
 
 void
-setFieldValue(Hjava_lang_Class* unused, Field* ft, u2 idx)
+setFieldValue(Hjava_lang_Class* this UNUSED, Field* ft, u2 idx)
 {
 	/* Set value index */
 	FIELD_CONSTIDX(ft) = idx;
@@ -2539,7 +2539,7 @@
  */
 static
 bool
-resolveConstants(Hjava_lang_Class* class, errorInfo *einfo)
+resolveConstants(Hjava_lang_Class* class UNUSED, errorInfo *einfo UNUSED)
 {
 	bool success = true;
 #ifdef EAGER_LOADING
Index: kaffe/kaffe/kaffevm/classPool.c
diff -u kaffe/kaffe/kaffevm/classPool.c:1.23 kaffe/kaffe/kaffevm/classPool.c:1.24
--- kaffe/kaffe/kaffevm/classPool.c:1.23	Thu Mar 18 07:24:19 2004
+++ kaffe/kaffe/kaffevm/classPool.c	Fri Apr  2 21:27:44 2004
@@ -236,7 +236,7 @@
  */
 void
 /* ARGSUSED */
-destroyClassLoader(Collector *c, void* _loader)
+destroyClassLoader(Collector *c UNUSED, void* _loader)
 {
 	Hjava_lang_ClassLoader* loader = _loader;
         int rmoved;
Index: kaffe/kaffe/kaffevm/code.c
diff -u kaffe/kaffe/kaffevm/code.c:1.12 kaffe/kaffe/kaffevm/code.c:1.13
--- kaffe/kaffe/kaffevm/code.c:1.12	Mon Mar  8 21:21:07 2004
+++ kaffe/kaffe/kaffevm/code.c	Fri Apr  2 21:27:44 2004
@@ -26,7 +26,7 @@
 #include "exception.h"
 
 bool
-addCode(Method* m, uint32 len, classFile* fp, errorInfo *einfo)
+addCode(Method* m, uint32 len UNUSED, classFile* fp, errorInfo *einfo)
 {
 	bool retval = false;
 	Code c;
@@ -128,7 +128,7 @@
  * Read in line numbers assocated with code.
  */
 bool
-addLineNumbers(Method* m, uint32 len, classFile* fp, errorInfo *info)
+addLineNumbers(Method* m, uint32 len UNUSED, classFile* fp, errorInfo *info)
 {
 	lineNumbers* lines;
 	int i;
@@ -171,7 +171,7 @@
 }
 
 bool
-addLocalVariables(Method *m, uint32 len, classFile *fp, errorInfo *info)
+addLocalVariables(Method *m, uint32 len UNUSED, classFile *fp, errorInfo *info)
 {
 	constants *pool = CLASS_CONSTANTS(m->class);
 	localVariables *lv;
@@ -240,7 +240,7 @@
  * Read in (checked) exceptions declared for a method
  */
 bool
-addCheckedExceptions(Method* m, uint32 len, classFile* fp,
+addCheckedExceptions(Method* m, uint32 len UNUSED, classFile* fp,
 		     errorInfo *info)
 {
 	int i;
Index: kaffe/kaffe/kaffevm/exception.c
diff -u kaffe/kaffe/kaffevm/exception.c:1.80 kaffe/kaffe/kaffevm/exception.c:1.81
--- kaffe/kaffe/kaffevm/exception.c:1.80	Mon Mar 29 21:13:33 2004
+++ kaffe/kaffe/kaffevm/exception.c	Fri Apr  2 21:27:44 2004
@@ -212,7 +212,7 @@
  * dump error info to stderr
  */
 void
-dumpErrorInfo(errorInfo *einfo)
+dumpErrorInfo(errorInfo *einfo UNUSED)
 {
 	/* XXX */
 }
Index: kaffe/kaffe/kaffevm/gcFuncs.c
diff -u kaffe/kaffe/kaffevm/gcFuncs.c:1.51 kaffe/kaffe/kaffevm/gcFuncs.c:1.52
--- kaffe/kaffe/kaffevm/gcFuncs.c:1.51	Fri Mar 19 18:03:04 2004
+++ kaffe/kaffe/kaffevm/gcFuncs.c	Fri Apr  2 21:27:44 2004
@@ -279,7 +279,7 @@
  * Walk a class object.
  */
 static void
-walkClass(Collector* collector, void* base, uint32 size)
+walkClass(Collector* collector, void* base, uint32 size UNUSED)
 {
         Hjava_lang_Class* class;
         Field* fld;
@@ -399,7 +399,7 @@
  */
 static
 void
-walkRefArray(Collector* collector, void* base, uint32 size)
+walkRefArray(Collector* collector, void* base, uint32 size UNUSED)
 {
         Hjava_lang_Object* arr;
         int i;
@@ -514,7 +514,7 @@
 static
 void
 /* ARGSUSED */
-finalizeObject(Collector* collector, void* ob)
+finalizeObject(Collector* collector UNUSED, void* ob)
 {
 	JNIEnv *env = THREAD_JNIENV();
 	Hjava_lang_Class* objclass;
Index: kaffe/kaffe/kaffevm/jni.c
diff -u kaffe/kaffe/kaffevm/jni.c:1.105 kaffe/kaffe/kaffevm/jni.c:1.106
--- kaffe/kaffe/kaffevm/jni.c:1.105	Tue Mar 30 12:53:09 2004
+++ kaffe/kaffe/kaffevm/jni.c	Fri Apr  2 21:27:45 2004
@@ -225,7 +225,7 @@
 }
 
 jint
-JNI_GetCreatedJavaVMs(JavaVM** vm, jsize buflen, jsize* nvm)
+JNI_GetCreatedJavaVMs(JavaVM** vm, jsize buflen UNUSED, jsize* nvm)
 {
 	vm[0] = &Kaffe_JavaVM;
 	*nvm = Kaffe_NumVM;
@@ -242,14 +242,14 @@
  * should be bracketed with BEGIN and END _EXCEPTION_HANDLING.
  */
 static void NONRETURNING
-Kaffe_FatalError(JNIEnv* env, const char* mess)
+Kaffe_FatalError(JNIEnv* env UNUSED, const char* mess)
 {
 	kprintf(stderr, "FATAL ERROR: %s\n", mess);
 	exit(1);
 }
 
 static void
-Kaffe_DeleteGlobalRef(JNIEnv* env, jref obj)
+Kaffe_DeleteGlobalRef(JNIEnv* env UNUSED, jref obj)
 {
 #if defined(ENABLE_JVMPI)
 	if( JVMPI_EVENT_ISENABLED(JVMPI_EVENT_JNI_GLOBALREF_FREE) )
@@ -265,13 +265,13 @@
 }
 
 static void
-Kaffe_DeleteLocalRef(JNIEnv* env, jref obj)
+Kaffe_DeleteLocalRef(JNIEnv* env UNUSED, jref obj)
 {
 	REMOVE_REF(obj);
 }
 
 static jboolean
-Kaffe_IsSameObject(JNIEnv* env, jobject obj1, jobject obj2)
+Kaffe_IsSameObject(JNIEnv* env UNUSED, jobject obj1, jobject obj2)
 {
 	if (obj1 == obj2) {
 		return (JNI_TRUE);
@@ -282,13 +282,13 @@
 }
 
 static void
-Kaffe_ReleaseStringChars(JNIEnv* env, jstring data, const jchar* chars)
+Kaffe_ReleaseStringChars(JNIEnv* env UNUSED, jstring data UNUSED, const jchar* chars UNUSED)
 {
 	/* Does nothing */
 }
 
 static jint
-Kaffe_GetVersion(JNIEnv* env)
+Kaffe_GetVersion(JNIEnv* env UNUSED)
 {
 	return ((java_major_version << 16) | java_minor_version);
 }
@@ -358,7 +358,7 @@
  * stack backtrace.
  */
 static jclass
-Kaffe_FindClass(JNIEnv* env, const char* name)
+Kaffe_FindClass(JNIEnv* env UNUSED, const char* name)
 {
 	jstring nameString;
 	Utf8Const* utf8;
@@ -382,7 +382,7 @@
 }
 
 static jclass
-Kaffe_GetSuperClass(JNIEnv* env, jclass cls)
+Kaffe_GetSuperClass(JNIEnv* env UNUSED, jclass cls)
 {
 	jclass ret;
 
@@ -395,7 +395,7 @@
 }
 
 static jbool
-Kaffe_IsAssignableFrom(JNIEnv* env, jclass cls1, jclass cls2)
+Kaffe_IsAssignableFrom(JNIEnv* env UNUSED, jclass cls1, jclass cls2)
 {
 	jbool ret;
 
@@ -412,7 +412,7 @@
 }
 
 static jint
-Kaffe_Throw(JNIEnv* env, jobject obj)
+Kaffe_Throw(JNIEnv* env UNUSED, jobject obj)
 {
 	BEGIN_EXCEPTION_HANDLING(0);
 
@@ -428,7 +428,7 @@
 }
 
 static jint
-Kaffe_ThrowNew(JNIEnv* env, jclass cls, const char* mess)
+Kaffe_ThrowNew(JNIEnv* env UNUSED, jclass cls, const char* mess)
 {
 	Hjava_lang_Object* eobj;
 
@@ -445,7 +445,7 @@
 }
 
 static jobject
-Kaffe_ExceptionOccurred(JNIEnv* env)
+Kaffe_ExceptionOccurred(JNIEnv* env UNUSED)
 {
 	jobject obj;
 
@@ -459,7 +459,7 @@
 }
 
 static jboolean
-Kaffe_ExceptionCheck(JNIEnv* env)
+Kaffe_ExceptionCheck(JNIEnv* env UNUSED)
 {
 	jboolean result;
 	jobject obj;
@@ -474,7 +474,7 @@
 }
 
 static void
-Kaffe_ExceptionDescribe(JNIEnv* env)
+Kaffe_ExceptionDescribe(JNIEnv* env UNUSED)
 {
 	BEGIN_EXCEPTION_HANDLING_VOID();
 
@@ -486,7 +486,7 @@
 }
 
 static void
-Kaffe_ExceptionClear(JNIEnv* env)
+Kaffe_ExceptionClear(JNIEnv* env UNUSED)
 {
 	BEGIN_EXCEPTION_HANDLING_VOID();
 
@@ -496,7 +496,7 @@
 }
 
 static jobject
-Kaffe_AllocObject(JNIEnv* env, jclass cls)
+Kaffe_AllocObject(JNIEnv* env UNUSED, jclass cls)
 {
 	jobject obj;
 	Hjava_lang_Class* clazz;
@@ -516,7 +516,7 @@
 }
 
 static jobject
-Kaffe_NewObjectV(JNIEnv* env, jclass cls, jmethodID meth, va_list args)
+Kaffe_NewObjectV(JNIEnv* env UNUSED, jclass cls, jmethodID meth, va_list args)
 {
 	Hjava_lang_Object* obj;
 	Hjava_lang_Class* clazz;
@@ -540,7 +540,7 @@
 }
 
 static jobject
-Kaffe_NewObject(JNIEnv* env, jclass cls, jmethodID meth, ...)
+Kaffe_NewObject(JNIEnv* env UNUSED, jclass cls, jmethodID meth, ...)
 {
 	jobject obj;
 	va_list args;
@@ -556,7 +556,7 @@
 }
 
 static jobject
-Kaffe_NewObjectA(JNIEnv* env, jclass cls, jmethodID meth, jvalue* args)
+Kaffe_NewObjectA(JNIEnv* env UNUSED, jclass cls, jmethodID meth, jvalue* args)
 {
 	Hjava_lang_Object* obj;
 	Hjava_lang_Class* clazz;
@@ -580,7 +580,7 @@
 }
 
 static jclass
-Kaffe_GetObjectClass(JNIEnv* env, jobject obj)
+Kaffe_GetObjectClass(JNIEnv* env UNUSED, jobject obj)
 {
 	jclass cls;
 
@@ -593,7 +593,7 @@
 }
 
 static jbool
-Kaffe_IsInstanceOf(JNIEnv* env, jobject obj, jclass cls)
+Kaffe_IsInstanceOf(JNIEnv* env UNUSED, jobject obj, jclass cls)
 {
 	jbool ret;
 
@@ -632,7 +632,7 @@
 }
 
 static jobject
-Kaffe_CallObjectMethodV(JNIEnv* env, jobject obj, jmethodID meth, va_list args)
+Kaffe_CallObjectMethodV(JNIEnv* env UNUSED, jobject obj, jmethodID meth, va_list args)
 {
 	jvalue retval;
 	Hjava_lang_Object* o = (Hjava_lang_Object*)obj;
@@ -668,7 +668,7 @@
 }
 
 static jobject
-Kaffe_CallObjectMethodA(JNIEnv* env, jobject obj, jmethodID meth, jvalue* args)
+Kaffe_CallObjectMethodA(JNIEnv* env UNUSED, jobject obj, jmethodID meth, jvalue* args)
 {
 	jvalue retval;
 	Hjava_lang_Object* o = (Hjava_lang_Object*)obj;
@@ -687,7 +687,7 @@
 }
 
 static jboolean
-Kaffe_CallBooleanMethodV(JNIEnv* env, jobject obj, jmethodID meth, va_list args)
+Kaffe_CallBooleanMethodV(JNIEnv* env UNUSED, jobject obj, jmethodID meth, va_list args)
 {
 	jvalue retval;
 	Hjava_lang_Object* o = (Hjava_lang_Object*)obj;
@@ -722,7 +722,7 @@
 }
 
 static jboolean
-Kaffe_CallBooleanMethodA(JNIEnv* env, jobject obj, jmethodID meth, jvalue* args)
+Kaffe_CallBooleanMethodA(JNIEnv* env UNUSED, jobject obj, jmethodID meth, jvalue* args)
 {
 	jvalue retval;
 	Hjava_lang_Object* o = (Hjava_lang_Object*)obj;
@@ -741,7 +741,7 @@
 }
 
 static jbyte
-Kaffe_CallByteMethodV(JNIEnv* env, jobject obj, jmethodID meth, va_list args)
+Kaffe_CallByteMethodV(JNIEnv* env UNUSED, jobject obj, jmethodID meth, va_list args)
 {
 	jvalue retval;
 	Hjava_lang_Object* o = (Hjava_lang_Object*)obj;
@@ -776,7 +776,7 @@
 }
 
 static jbyte
-Kaffe_CallByteMethodA(JNIEnv* env, jobject obj, jmethodID meth, jvalue* args)
+Kaffe_CallByteMethodA(JNIEnv* env UNUSED, jobject obj, jmethodID meth, jvalue* args)
 {
 	jvalue retval;
 	Hjava_lang_Object* o = (Hjava_lang_Object*)obj;
@@ -795,7 +795,7 @@
 }
 
 static jchar
-Kaffe_CallCharMethodV(JNIEnv* env, jobject obj, jmethodID meth, va_list args)
+Kaffe_CallCharMethodV(JNIEnv* env UNUSED, jobject obj, jmethodID meth, va_list args)
 {
 	jvalue retval;
 	Hjava_lang_Object* o = (Hjava_lang_Object*)obj;
@@ -830,7 +830,7 @@
 }
 
 static jchar
-Kaffe_CallCharMethodA(JNIEnv* env, jobject obj, jmethodID meth, jvalue* args)
+Kaffe_CallCharMethodA(JNIEnv* env UNUSED, jobject obj, jmethodID meth, jvalue* args)
 {
 	jvalue retval;
 	Hjava_lang_Object* o = (Hjava_lang_Object*)obj;
@@ -849,7 +849,7 @@
 }
 
 static jshort
-Kaffe_CallShortMethodV(JNIEnv* env, jobject obj, jmethodID meth, va_list args)
+Kaffe_CallShortMethodV(JNIEnv* env UNUSED, jobject obj, jmethodID meth, va_list args)
 {
 	jvalue retval;
 	Hjava_lang_Object* o = (Hjava_lang_Object*)obj;
@@ -884,7 +884,7 @@
 }
 
 static jshort
-Kaffe_CallShortMethodA(JNIEnv* env, jobject obj, jmethodID meth, jvalue* args)
+Kaffe_CallShortMethodA(JNIEnv* env UNUSED, jobject obj, jmethodID meth, jvalue* args)
 {
 	jvalue retval;
 	Hjava_lang_Object* o = (Hjava_lang_Object*)obj;
@@ -903,7 +903,7 @@
 }
 
 static jint
-Kaffe_CallIntMethodV(JNIEnv* env, jobject obj, jmethodID meth, va_list args)
+Kaffe_CallIntMethodV(JNIEnv* env UNUSED, jobject obj, jmethodID meth, va_list args)
 {
 	jvalue retval;
 	Hjava_lang_Object* o = (Hjava_lang_Object*)obj;
@@ -938,7 +938,7 @@
 }
 
 static jint
-Kaffe_CallIntMethodA(JNIEnv* env, jobject obj, jmethodID meth, jvalue* args)
+Kaffe_CallIntMethodA(JNIEnv* env UNUSED, jobject obj, jmethodID meth, jvalue* args)
 {
 	jvalue retval;
 	Hjava_lang_Object* o = (Hjava_lang_Object*)obj;
@@ -957,7 +957,7 @@
 }
 
 static jlong
-Kaffe_CallLongMethodV(JNIEnv* env, jobject obj, jmethodID meth, va_list args)
+Kaffe_CallLongMethodV(JNIEnv* env UNUSED, jobject obj, jmethodID meth, va_list args)
 {
 	jvalue retval;
 	Hjava_lang_Object* o = (Hjava_lang_Object*)obj;
@@ -992,7 +992,7 @@
 }
 
 static jlong
-Kaffe_CallLongMethodA(JNIEnv* env, jobject obj, jmethodID meth, jvalue* args)
+Kaffe_CallLongMethodA(JNIEnv* env UNUSED, jobject obj, jmethodID meth, jvalue* args)
 {
 	jvalue retval;
 	Hjava_lang_Object* o = (Hjava_lang_Object*)obj;
@@ -1011,7 +1011,7 @@
 }
 
 static jfloat
-Kaffe_CallFloatMethodV(JNIEnv* env, jobject obj, jmethodID meth, va_list args)
+Kaffe_CallFloatMethodV(JNIEnv* env UNUSED, jobject obj, jmethodID meth, va_list args)
 {
 	jvalue retval;
 	Hjava_lang_Object* o = (Hjava_lang_Object*)obj;
@@ -1046,7 +1046,7 @@
 }
 
 static jfloat
-Kaffe_CallFloatMethodA(JNIEnv* env, jobject obj, jmethodID meth, jvalue* args)
+Kaffe_CallFloatMethodA(JNIEnv* env UNUSED, jobject obj, jmethodID meth, jvalue* args)
 {
 	jvalue retval;
 	Hjava_lang_Object* o = (Hjava_lang_Object*)obj;
@@ -1065,7 +1065,7 @@
 }
 
 static jdouble
-Kaffe_CallDoubleMethodV(JNIEnv* env, jobject obj, jmethodID meth, va_list args)
+Kaffe_CallDoubleMethodV(JNIEnv* env UNUSED, jobject obj, jmethodID meth, va_list args)
 {
 	jvalue retval;
 	Hjava_lang_Object* o = (Hjava_lang_Object*)obj;
@@ -1100,7 +1100,7 @@
 }
 
 static jdouble
-Kaffe_CallDoubleMethodA(JNIEnv* env, jobject obj, jmethodID meth, jvalue* args)
+Kaffe_CallDoubleMethodA(JNIEnv* env UNUSED, jobject obj, jmethodID meth, jvalue* args)
 {
 	jvalue retval;
 	Hjava_lang_Object* o = (Hjava_lang_Object*)obj;
@@ -1119,7 +1119,7 @@
 }
 
 static void
-Kaffe_CallVoidMethodV(JNIEnv* env, jobject obj, jmethodID meth, va_list args)
+Kaffe_CallVoidMethodV(JNIEnv* env UNUSED, jobject obj, jmethodID meth, va_list args)
 {
 	Hjava_lang_Object* o = (Hjava_lang_Object*)obj;
 	Method* m = (Method*)meth;
@@ -1150,7 +1150,7 @@
 }
 
 static void
-Kaffe_CallVoidMethodA(JNIEnv* env, jobject obj, jmethodID meth, jvalue* args)
+Kaffe_CallVoidMethodA(JNIEnv* env UNUSED, jobject obj, jmethodID meth, jvalue* args)
 {
 	Hjava_lang_Object* o = (Hjava_lang_Object*)obj;
 	Method* m = (Method*)meth;
@@ -1167,7 +1167,7 @@
 }
 
 static jobject
-Kaffe_CallNonvirtualObjectMethodV(JNIEnv* env, jobject obj, jclass cls, jmethodID meth, va_list args)
+Kaffe_CallNonvirtualObjectMethodV(JNIEnv* env UNUSED, jobject obj, jclass cls UNUSED, jmethodID meth, va_list args)
 {
 	jvalue retval;
 	Method* m = (Method*)meth;
@@ -1202,7 +1202,7 @@
 }
 
 static jobject
-Kaffe_CallNonvirtualObjectMethodA(JNIEnv* env, jobject obj, jclass cls, jmethodID meth, jvalue* args)
+Kaffe_CallNonvirtualObjectMethodA(JNIEnv* env UNUSED, jobject obj, jclass cls UNUSED, jmethodID meth, jvalue* args)
 {
 	jvalue retval;
 	Method* m = (Method*)meth;
@@ -1221,7 +1221,7 @@
 }
 
 static jboolean
-Kaffe_CallNonvirtualBooleanMethodV(JNIEnv* env, jobject obj, jclass cls, jmethodID meth, va_list args)
+Kaffe_CallNonvirtualBooleanMethodV(JNIEnv* env UNUSED, jobject obj, jclass cls UNUSED, jmethodID meth, va_list args)
 {
 	jvalue retval;
 	Method* m = (Method*)meth;
@@ -1255,7 +1255,7 @@
 }
 
 static jboolean
-Kaffe_CallNonvirtualBooleanMethodA(JNIEnv* env, jobject obj, jclass cls, jmethodID meth, jvalue* args)
+Kaffe_CallNonvirtualBooleanMethodA(JNIEnv* env UNUSED, jobject obj, jclass cls UNUSED, jmethodID meth, jvalue* args)
 {
 	jvalue retval;
 	Method* m = (Method*)meth;
@@ -1273,7 +1273,7 @@
 }
 
 static jbyte
-Kaffe_CallNonvirtualByteMethodV(JNIEnv* env, jobject obj, jclass cls, jmethodID meth, va_list args)
+Kaffe_CallNonvirtualByteMethodV(JNIEnv* env UNUSED, jobject obj, jclass cls UNUSED, jmethodID meth, va_list args)
 {
 	jvalue retval;
 	Method* m = (Method*)meth;
@@ -1307,7 +1307,7 @@
 }
 
 static jbyte
-Kaffe_CallNonvirtualByteMethodA(JNIEnv* env, jobject obj, jclass cls, jmethodID meth, jvalue* args)
+Kaffe_CallNonvirtualByteMethodA(JNIEnv* env UNUSED, jobject obj, jclass cls UNUSED, jmethodID meth, jvalue* args)
 {
 	jvalue retval;
 	Method* m = (Method*)meth;
@@ -1325,7 +1325,7 @@
 }
 
 static jchar
-Kaffe_CallNonvirtualCharMethodV(JNIEnv* env, jobject obj, jclass cls, jmethodID meth, va_list args)
+Kaffe_CallNonvirtualCharMethodV(JNIEnv* env UNUSED, jobject obj, jclass cls UNUSED, jmethodID meth, va_list args)
 {
 	jvalue retval;
 	Method* m = (Method*)meth;
@@ -1359,7 +1359,7 @@
 }
 
 static jchar
-Kaffe_CallNonvirtualCharMethodA(JNIEnv* env, jobject obj, jclass cls, jmethodID meth, jvalue* args)
+Kaffe_CallNonvirtualCharMethodA(JNIEnv* env UNUSED, jobject obj, jclass cls UNUSED, jmethodID meth, jvalue* args)
 {
 	jvalue retval;
 	Method* m = (Method*)meth;
@@ -1377,7 +1377,7 @@
 }
 
 static jshort
-Kaffe_CallNonvirtualShortMethodV(JNIEnv* env, jobject obj, jclass cls, jmethodID meth, va_list args)
+Kaffe_CallNonvirtualShortMethodV(JNIEnv* env UNUSED, jobject obj, jclass cls UNUSED, jmethodID meth, va_list args)
 {
 	jvalue retval;
 	Method* m = (Method*)meth;
@@ -1411,7 +1411,7 @@
 }
 
 static jshort
-Kaffe_CallNonvirtualShortMethodA(JNIEnv* env, jobject obj, jclass cls, jmethodID meth, jvalue* args)
+Kaffe_CallNonvirtualShortMethodA(JNIEnv* env UNUSED, jobject obj, jclass cls UNUSED, jmethodID meth, jvalue* args)
 {
 	jvalue retval;
 	Method* m = (Method*)meth;
@@ -1429,7 +1429,7 @@
 }
 
 static jint
-Kaffe_CallNonvirtualIntMethodV(JNIEnv* env, jobject obj, jclass cls, jmethodID meth, va_list args)
+Kaffe_CallNonvirtualIntMethodV(JNIEnv* env UNUSED, jobject obj, jclass cls UNUSED, jmethodID meth, va_list args)
 {
 	jvalue retval;
 	Method* m = (Method*)meth;
@@ -1463,7 +1463,7 @@
 }
 
 static jint
-Kaffe_CallNonvirtualIntMethodA(JNIEnv* env, jobject obj, jclass cls, jmethodID meth, jvalue* args)
+Kaffe_CallNonvirtualIntMethodA(JNIEnv* env UNUSED, jobject obj, jclass cls UNUSED, jmethodID meth, jvalue* args)
 {
 	jvalue retval;
 	Method* m = (Method*)meth;
@@ -1481,7 +1481,7 @@
 }
 
 static jlong
-Kaffe_CallNonvirtualLongMethodV(JNIEnv* env, jobject obj, jclass cls, jmethodID meth, va_list args)
+Kaffe_CallNonvirtualLongMethodV(JNIEnv* env UNUSED, jobject obj, jclass cls UNUSED, jmethodID meth, va_list args)
 {
 	jvalue retval;
 	Method* m = (Method*)meth;
@@ -1515,7 +1515,7 @@
 }
 
 static jlong
-Kaffe_CallNonvirtualLongMethodA(JNIEnv* env, jobject obj, jclass cls, jmethodID meth, jvalue* args)
+Kaffe_CallNonvirtualLongMethodA(JNIEnv* env UNUSED, jobject obj, jclass cls UNUSED, jmethodID meth, jvalue* args)
 {
 	jvalue retval;
 	Method* m = (Method*)meth;
@@ -1533,7 +1533,7 @@
 }
 
 static jfloat
-Kaffe_CallNonvirtualFloatMethodV(JNIEnv* env, jobject obj, jclass cls, jmethodID meth, va_list args)
+Kaffe_CallNonvirtualFloatMethodV(JNIEnv* env UNUSED, jobject obj, jclass cls UNUSED, jmethodID meth, va_list args)
 {
 	jvalue retval;
 	Method* m = (Method*)meth;
@@ -1567,7 +1567,7 @@
 }
 
 static jfloat
-Kaffe_CallNonvirtualFloatMethodA(JNIEnv* env, jobject obj, jclass cls, jmethodID meth, jvalue* args)
+Kaffe_CallNonvirtualFloatMethodA(JNIEnv* env UNUSED, jobject obj, jclass cls UNUSED, jmethodID meth, jvalue* args)
 {
 	jvalue retval;
 	Method* m = (Method*)meth;
@@ -1585,7 +1585,7 @@
 }
 
 static jdouble
-Kaffe_CallNonvirtualDoubleMethodV(JNIEnv* env, jobject obj, jclass cls, jmethodID meth, va_list args)
+Kaffe_CallNonvirtualDoubleMethodV(JNIEnv* env UNUSED, jobject obj, jclass cls UNUSED, jmethodID meth, va_list args)
 {
 	jvalue retval;
 	Method* m = (Method*)meth;
@@ -1619,7 +1619,7 @@
 }
 
 static jdouble
-Kaffe_CallNonvirtualDoubleMethodA(JNIEnv* env, jobject obj, jclass cls, jmethodID meth, jvalue* args)
+Kaffe_CallNonvirtualDoubleMethodA(JNIEnv* env UNUSED, jobject obj, jclass cls UNUSED, jmethodID meth, jvalue* args)
 {
 	jvalue retval;
 	Method* m = (Method*)meth;
@@ -1637,7 +1637,7 @@
 }
 
 static void
-Kaffe_CallNonvirtualVoidMethodV(JNIEnv* env, jobject obj, jclass cls, jmethodID meth, va_list args)
+Kaffe_CallNonvirtualVoidMethodV(JNIEnv* env UNUSED, jobject obj, jclass cls UNUSED, jmethodID meth, va_list args)
 {
 	Method* m = (Method*)meth;
 
@@ -1667,7 +1667,7 @@
 }
 
 static void
-Kaffe_CallNonvirtualVoidMethodA(JNIEnv* env, jobject obj, jclass cls, jmethodID meth, jvalue* args)
+Kaffe_CallNonvirtualVoidMethodA(JNIEnv* env UNUSED, jobject obj, jclass cls UNUSED, jmethodID meth, jvalue* args)
 {
 	Method* m = (Method*)meth;
 
@@ -1683,7 +1683,7 @@
 }
 
 static jfieldID
-Kaffe_GetFieldID(JNIEnv* env, jclass cls, const char* name, const char* sig)
+Kaffe_GetFieldID(JNIEnv* env, jclass cls, const char* name, const char* sig UNUSED)
 {
 	Field* fld;
 	errorInfo info;
@@ -1701,7 +1701,7 @@
 }
 
 static jobject
-Kaffe_GetObjectField(JNIEnv* env, jobject obj, jfieldID fld)
+Kaffe_GetObjectField(JNIEnv* env UNUSED, jobject obj, jfieldID fld)
 {
 	jobject nobj;
 
@@ -1715,7 +1715,7 @@
 }
 
 static jboolean
-Kaffe_GetBooleanField(JNIEnv* env, jobject obj, jfieldID fld)
+Kaffe_GetBooleanField(JNIEnv* env UNUSED, jobject obj, jfieldID fld)
 {
 	jboolean ret;
 
@@ -1728,7 +1728,7 @@
 }
 
 static jbyte
-Kaffe_GetByteField(JNIEnv* env, jobject obj, jfieldID fld)
+Kaffe_GetByteField(JNIEnv* env UNUSED, jobject obj, jfieldID fld)
 {
 	jbyte ret;
 	BEGIN_EXCEPTION_HANDLING(0);
@@ -1740,7 +1740,7 @@
 }
 
 static jchar
-Kaffe_GetCharField(JNIEnv* env, jobject obj, jfieldID fld)
+Kaffe_GetCharField(JNIEnv* env UNUSED, jobject obj, jfieldID fld)
 {
 	jchar ret;
 	BEGIN_EXCEPTION_HANDLING(0);
@@ -1752,7 +1752,7 @@
 }
 
 static jshort
-Kaffe_GetShortField(JNIEnv* env, jobject obj, jfieldID fld)
+Kaffe_GetShortField(JNIEnv* env UNUSED, jobject obj, jfieldID fld)
 {
 	jshort ret;
 	BEGIN_EXCEPTION_HANDLING(0);
@@ -1764,7 +1764,7 @@
 }
 
 static jint
-Kaffe_GetIntField(JNIEnv* env, jobject obj, jfieldID fld)
+Kaffe_GetIntField(JNIEnv* env UNUSED, jobject obj, jfieldID fld)
 {
 	jint ret;
 	BEGIN_EXCEPTION_HANDLING(0);
@@ -1776,7 +1776,7 @@
 }
 
 static jlong
-Kaffe_GetLongField(JNIEnv* env, jobject obj, jfieldID fld)
+Kaffe_GetLongField(JNIEnv* env UNUSED, jobject obj, jfieldID fld)
 {
 	jlong ret;
 	BEGIN_EXCEPTION_HANDLING(0);
@@ -1788,7 +1788,7 @@
 }
 
 static jfloat
-Kaffe_GetFloatField(JNIEnv* env, jobject obj, jfieldID fld)
+Kaffe_GetFloatField(JNIEnv* env UNUSED, jobject obj, jfieldID fld)
 {
 	jfloat ret;
 	BEGIN_EXCEPTION_HANDLING(0);
@@ -1800,7 +1800,7 @@
 }
 
 static jdouble
-Kaffe_GetDoubleField(JNIEnv* env, jobject obj, jfieldID fld)
+Kaffe_GetDoubleField(JNIEnv* env UNUSED, jobject obj, jfieldID fld)
 {
 	jdouble ret;
 	BEGIN_EXCEPTION_HANDLING(0);
@@ -1812,7 +1812,7 @@
 }
 
 static void
-Kaffe_SetObjectField(JNIEnv* env, jobject obj, jfieldID fld, jobject val)
+Kaffe_SetObjectField(JNIEnv* env UNUSED, jobject obj, jfieldID fld, jobject val)
 {
 	BEGIN_EXCEPTION_HANDLING_VOID();
 
@@ -1822,7 +1822,7 @@
 }
 
 static void
-Kaffe_SetBooleanField(JNIEnv* env, jobject obj, jfieldID fld, jbool val)
+Kaffe_SetBooleanField(JNIEnv* env UNUSED, jobject obj, jfieldID fld, jbool val)
 {
 	BEGIN_EXCEPTION_HANDLING_VOID();
 
@@ -1832,7 +1832,7 @@
 }
 
 static void
-Kaffe_SetByteField(JNIEnv* env, jobject obj, jfieldID fld, jbyte val)
+Kaffe_SetByteField(JNIEnv* env UNUSED, jobject obj, jfieldID fld, jbyte val)
 {
 	BEGIN_EXCEPTION_HANDLING_VOID();
 
@@ -1842,7 +1842,7 @@
 }
 
 static void
-Kaffe_SetCharField(JNIEnv* env, jobject obj, jfieldID fld, jchar val)
+Kaffe_SetCharField(JNIEnv* env UNUSED, jobject obj, jfieldID fld, jchar val)
 {
 	BEGIN_EXCEPTION_HANDLING_VOID();
 
@@ -1852,7 +1852,7 @@
 }
 
 static void
-Kaffe_SetShortField(JNIEnv* env, jobject obj, jfieldID fld, jshort val)
+Kaffe_SetShortField(JNIEnv* env UNUSED, jobject obj, jfieldID fld, jshort val)
 {
 	BEGIN_EXCEPTION_HANDLING_VOID();
 
@@ -1862,7 +1862,7 @@
 }
 
 static void
-Kaffe_SetIntField(JNIEnv* env, jobject obj, jfieldID fld, jint val)
+Kaffe_SetIntField(JNIEnv* env UNUSED, jobject obj, jfieldID fld, jint val)
 {
 	BEGIN_EXCEPTION_HANDLING_VOID();
 
@@ -1872,7 +1872,7 @@
 }
 
 static void
-Kaffe_SetLongField(JNIEnv* env, jobject obj, jfieldID fld, jlong val)
+Kaffe_SetLongField(JNIEnv* env UNUSED, jobject obj, jfieldID fld, jlong val)
 {
 	BEGIN_EXCEPTION_HANDLING_VOID();
 
@@ -1882,7 +1882,7 @@
 }
 
 static void
-Kaffe_SetFloatField(JNIEnv* env, jobject obj, jfieldID fld, jfloat val)
+Kaffe_SetFloatField(JNIEnv* env UNUSED, jobject obj, jfieldID fld, jfloat val)
 {
 	BEGIN_EXCEPTION_HANDLING_VOID();
 
@@ -1892,7 +1892,7 @@
 }
 
 static void
-Kaffe_SetDoubleField(JNIEnv* env, jobject obj, jfieldID fld, jdouble val)
+Kaffe_SetDoubleField(JNIEnv* env UNUSED, jobject obj, jfieldID fld, jdouble val)
 {
 	BEGIN_EXCEPTION_HANDLING_VOID();
 
@@ -1922,7 +1922,7 @@
 }
 
 static jobject
-Kaffe_CallStaticObjectMethodV(JNIEnv* env, jclass cls, jmethodID meth, va_list args)
+Kaffe_CallStaticObjectMethodV(JNIEnv* env UNUSED, jclass cls UNUSED, jmethodID meth, va_list args)
 {
 	jvalue retval;
 	Method* m = (Method*)meth;
@@ -1957,7 +1957,7 @@
 }
 
 static jobject
-Kaffe_CallStaticObjectMethodA(JNIEnv* env, jclass cls, jmethodID meth, jvalue* args)
+Kaffe_CallStaticObjectMethodA(JNIEnv* env UNUSED, jclass cls UNUSED, jmethodID meth, jvalue* args)
 {
 	jvalue retval;
 	Method* m = (Method*)meth;
@@ -1976,7 +1976,7 @@
 }
 
 static jboolean
-Kaffe_CallStaticBooleanMethodV(JNIEnv* env, jclass cls, jmethodID meth, va_list args)
+Kaffe_CallStaticBooleanMethodV(JNIEnv* env UNUSED, jclass cls UNUSED, jmethodID meth, va_list args)
 {
 	jvalue retval;
 	Method* m = (Method*)meth;
@@ -2010,7 +2010,7 @@
 }
 
 static jboolean
-Kaffe_CallStaticBooleanMethodA(JNIEnv* env, jclass cls, jmethodID meth, jvalue* args)
+Kaffe_CallStaticBooleanMethodA(JNIEnv* env UNUSED, jclass cls UNUSED, jmethodID meth, jvalue* args)
 {
 	jvalue retval;
 	Method* m = (Method*)meth;
@@ -2028,7 +2028,7 @@
 }
 
 static jbyte
-Kaffe_CallStaticByteMethodV(JNIEnv* env, jclass cls, jmethodID meth, va_list args)
+Kaffe_CallStaticByteMethodV(JNIEnv* env UNUSED, jclass cls UNUSED, jmethodID meth, va_list args)
 {
 	jvalue retval;
 	Method* m = (Method*)meth;
@@ -2062,7 +2062,7 @@
 }
 
 static jbyte
-Kaffe_CallStaticByteMethodA(JNIEnv* env, jclass cls, jmethodID meth, jvalue* args)
+Kaffe_CallStaticByteMethodA(JNIEnv* env UNUSED, jclass cls UNUSED, jmethodID meth, jvalue* args)
 {
 	jvalue retval;
 	Method* m = (Method*)meth;
@@ -2080,7 +2080,7 @@
 }
 
 static jchar
-Kaffe_CallStaticCharMethodV(JNIEnv* env, jclass cls, jmethodID meth, va_list args)
+Kaffe_CallStaticCharMethodV(JNIEnv* env UNUSED, jclass cls UNUSED, jmethodID meth, va_list args)
 {
 	jvalue retval;
 	Method* m = (Method*)meth;
@@ -2114,7 +2114,7 @@
 }
 
 static jchar
-Kaffe_CallStaticCharMethodA(JNIEnv* env, jclass cls, jmethodID meth, jvalue* args)
+Kaffe_CallStaticCharMethodA(JNIEnv* env UNUSED, jclass cls UNUSED, jmethodID meth, jvalue* args)
 {
 	jvalue retval;
 	Method* m = (Method*)meth;
@@ -2132,7 +2132,7 @@
 }
 
 static jshort
-Kaffe_CallStaticShortMethodV(JNIEnv* env, jclass cls, jmethodID meth, va_list args)
+Kaffe_CallStaticShortMethodV(JNIEnv* env UNUSED, jclass cls UNUSED, jmethodID meth, va_list args)
 {
 	jvalue retval;
 	Method* m = (Method*)meth;
@@ -2166,7 +2166,7 @@
 }
 
 static jshort
-Kaffe_CallStaticShortMethodA(JNIEnv* env, jclass cls, jmethodID meth, jvalue* args)
+Kaffe_CallStaticShortMethodA(JNIEnv* env UNUSED, jclass cls UNUSED, jmethodID meth, jvalue* args)
 {
 	jvalue retval;
 	Method* m = (Method*)meth;
@@ -2184,7 +2184,7 @@
 }
 

*** Patch too long, truncated ***




More information about the kaffe mailing list