[kaffe] CVS kaffe (robilad): Small warning fix
Kaffe CVS
cvs-commits at kaffe.org
Mon Dec 26 14:43:52 PST 2005
PatchSet 7059
Date: 2005/12/26 22:35:49
Author: robilad
Branch: HEAD
Tag: (none)
Log:
Small warning fix
2005-12-26 Dalibor Topic <robilad at kaffe.org>
* kaffe/kaffevm/jni/jni-refs.c
(KaffeJNI_EnsureLocalCapacity): Fix 'clobbered'
warning by moving initializazion of local variable after
setjmp/longjmp.
Members:
ChangeLog:1.4578->1.4579
kaffe/kaffevm/jni/jni-refs.c:1.5->1.6
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4578 kaffe/ChangeLog:1.4579
--- kaffe/ChangeLog:1.4578 Mon Dec 26 22:04:30 2005
+++ kaffe/ChangeLog Mon Dec 26 22:35:49 2005
@@ -1,5 +1,12 @@
2005-12-26 Dalibor Topic <robilad at kaffe.org>
+ * kaffe/kaffevm/jni/jni-refs.c
+ (KaffeJNI_EnsureLocalCapacity): Fix 'clobbered'
+ warning by moving initializazion of local variable after
+ setjmp/longjmp.
+
+2005-12-26 Dalibor Topic <robilad at kaffe.org>
+
* kaffe/kaffevm/methodCache.c,
kaffe/kaffevm/methodCache.h:
Removed unused files.
Index: kaffe/kaffe/kaffevm/jni/jni-refs.c
diff -u kaffe/kaffe/kaffevm/jni/jni-refs.c:1.5 kaffe/kaffe/kaffevm/jni/jni-refs.c:1.6
--- kaffe/kaffe/kaffevm/jni/jni-refs.c:1.5 Thu Aug 18 22:31:32 2005
+++ kaffe/kaffe/kaffevm/jni/jni-refs.c Mon Dec 26 22:35:56 2005
@@ -140,9 +140,11 @@
jint
KaffeJNI_EnsureLocalCapacity(JNIEnv* env, jint capacity)
{
- jint ret = 0;
+ jint ret;
BEGIN_EXCEPTION_HANDLING(-1);
+
+ ret = 0;
if (thread_data->jnireferences->used+capacity >
thread_data->jnireferences->frameSize)
More information about the kaffe
mailing list