[kaffe] CVS kaffe (dalibor): Fixed gcc warning
Kaffe CVS
Kaffe Mailing List <kaffe@kaffe.org>
Sun Feb 8 07:04:01 2004
PatchSet 4399
Date: 2004/02/08 15:01:01
Author: dalibor
Branch: HEAD
Tag: (none)
Log:
Fixed gcc warning
2004-02-08 Dalibor Topic <robilad@kaffe.org>
* kaffe/kaffevm/classMethod.c
(processClass): Fix gcc warning about unused variables.
Members:
ChangeLog:1.1983->1.1984
kaffe/kaffevm/classMethod.c:1.113->1.114
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1983 kaffe/ChangeLog:1.1984
--- kaffe/ChangeLog:1.1983 Sun Feb 8 13:44:39 2004
+++ kaffe/ChangeLog Sun Feb 8 15:01:01 2004
@@ -1,3 +1,8 @@
+2004-02-08 Dalibor Topic <robilad@kaffe.org>
+
+ * kaffe/kaffevm/classMethod.c
+ (processClass): Fix gcc warning about unused variables.
+
2004-02-08 Helmer Kraemer <hkraemer@freenet.de>
* libraries/javalib/java/net/URL.java
Index: kaffe/kaffe/kaffevm/classMethod.c
diff -u kaffe/kaffe/kaffevm/classMethod.c:1.113 kaffe/kaffe/kaffevm/classMethod.c:1.114
--- kaffe/kaffe/kaffevm/classMethod.c:1.113 Mon Nov 3 05:29:31 2003
+++ kaffe/kaffe/kaffevm/classMethod.c Sun Feb 8 15:01:03 2004
@@ -111,10 +111,10 @@
classEntry *ce;
Hjava_lang_Class* nclass;
bool success = true; /* optimistic */
-#ifdef KAFFE_VMDEBUG
+#if !(defined(NDEBUG) || !defined(KAFFE_VMDEBUG))
int i;
static int depth;
-#endif
+#endif /* !(defined(NDEBUG) || !defined(KAFFE_VMDEBUG)) */
static Method *object_fin;
int iLockRoot;