CVS kaffe (robilad): fixed compiler warning

Kaffe CVS <[email protected]>
Newsgroups gmane.comp.java.vm.kaffe.general
Message-ID <[email protected]>
PatchSet 7607 
Date: 2007/12/16 20:06:24
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
fixed compiler warning

2007-12-16  Dalibor Topic  <[email protected]>

* 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  <[email protected]>
+
+	* libraries/clib/native/ClassLoader.c (java_lang_VMClassLoader_getPrimitiveClass): 
+	Always return primitiveClass.
+
 2007-12-13  Dalibor Topic  <[email protected]>
 
 	* 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;
 }
 
 /*
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.