[kaffe] CVS kaffe (robilad): fixed compiler warning
Kaffe CVS
cvs-commits at kaffe.org
Sun Dec 16 12:07:51 PST 2007
PatchSet 7607
Date: 2007/12/16 20:06:24
Author: robilad
Branch: HEAD
Tag: (none)
Log:
fixed compiler warning
2007-12-16 Dalibor Topic <robilad at kaffe.org>
* libraries/clib/native/ClassLoader.c (java_lang_VMClassLoader_getPrimitiveClass):
Always return primitiveClass.
Members:
ChangeLog:1.5104->1.5105
libraries/clib/native/ClassLoader.c:1.56->1.57
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.5104 kaffe/ChangeLog:1.5105
--- kaffe/ChangeLog:1.5104 Thu Dec 13 16:31:05 2007
+++ kaffe/ChangeLog Sun Dec 16 20:06:24 2007
@@ -1,3 +1,8 @@
+2007-12-16 Dalibor Topic <robilad at kaffe.org>
+
+ * libraries/clib/native/ClassLoader.c (java_lang_VMClassLoader_getPrimitiveClass):
+ Always return primitiveClass.
+
2007-12-13 Dalibor Topic <robilad at kaffe.org>
* TODO: Removed finished build system items.
Index: kaffe/libraries/clib/native/ClassLoader.c
diff -u kaffe/libraries/clib/native/ClassLoader.c:1.56 kaffe/libraries/clib/native/ClassLoader.c:1.57
--- kaffe/libraries/clib/native/ClassLoader.c:1.56 Mon Oct 22 20:10:53 2007
+++ kaffe/libraries/clib/native/ClassLoader.c Sun Dec 16 20:06:26 2007
@@ -44,9 +44,8 @@
postNoClassDefFoundError(&info, "Invalid type specifier");
throwError(&info);
}
- else {
- return primitiveClass;
- }
+
+ return primitiveClass;
}
/*
More information about the kaffe
mailing list