[kaffe] CVS kaffe (robilad): Removed a few unused variables

Kaffe CVS cvs-commits at kaffe.org
Sun Feb 6 12:35:02 PST 2005


PatchSet 5489 
Date: 2005/02/06 20:30:12
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Removed a few unused variables

2005-02-06  Dalibor Topic  <robilad at kaffe.org>

        * kaffe/kaffevm/gcFuncs.c (destroyClass, walkClass,
        finalizeObject): Removed unused variables.

Members: 
	ChangeLog:1.3534->1.3535 
	kaffe/kaffevm/gcFuncs.c:1.66->1.67 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3534 kaffe/ChangeLog:1.3535
--- kaffe/ChangeLog:1.3534	Sun Feb  6 20:21:23 2005
+++ kaffe/ChangeLog	Sun Feb  6 20:30:12 2005
@@ -1,3 +1,8 @@
+2005-02-06  Dalibor Topic  <robilad at kaffe.org>
+
+	* kaffe/kaffevm/gcFuncs.c (destroyClass, walkClass, 
+	finalizeObject): Removed unused variables.
+
 2005-02-06  Jim Huang  <jserv at kaffe.org>
 
 	* test/awt/WidgetsDemo/WidgetsDemo.java,
@@ -10,7 +15,7 @@
 
 2005-02-06  Dalibor Topic  <robilad at kaffe.org>
 
-	* kaffe/kaffe/kaffevm/classMethod.c
+	* kaffe/kaffevm/classMethod.c
 	(userLoadClass): Removed unused variable.
 
 2005-02-06  Dalibor Topic  <robilad at kaffe.org>
Index: kaffe/kaffe/kaffevm/gcFuncs.c
diff -u kaffe/kaffe/kaffevm/gcFuncs.c:1.66 kaffe/kaffe/kaffevm/gcFuncs.c:1.67
--- kaffe/kaffe/kaffevm/gcFuncs.c:1.66	Sun Feb  6 15:05:10 2005
+++ kaffe/kaffe/kaffevm/gcFuncs.c	Sun Feb  6 20:30:15 2005
@@ -57,7 +57,7 @@
 /* ARGSUSED */
 destroyClass(Collector *collector, void* c)
 {
-        int i, j;
+        int i;
 	int idx;
 	Hjava_lang_Class* clazz = c;
 	constants* pool;
@@ -432,8 +432,6 @@
 	/* Now we walk the interface table pointer. */
 	if (class->itable2dtable != NULL)
 	  {
-	    unsigned int num_interfaces;
-
 	    KGC_markObject(collector, gc_info, class->itable2dtable);
 	    /* We want the number of interfaces registered in the table. As
 	     * this number is not recorded in the table we recompute it
@@ -582,10 +580,7 @@
 /* ARGSUSED */
 finalizeObject(Collector* collector UNUSED, void* ob)
 {
-	JNIEnv *env = THREAD_JNIENV();
-	Hjava_lang_Class* objclass;
         Hjava_lang_Object* obj = (Hjava_lang_Object*)ob;
-	Method* final;
 
 	if (!obj->vtable) {
 		/* Suppose we catch ThreadDeath inside newObject() */




More information about the kaffe mailing list