PatchSet 7217 
Date: 2006/04/06 03:29:45
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
small warning fix for kaffeh

2006-04-06  Dalibor Topic  <[EMAIL PROTECTED]>

* kaffe/kaffevm/readClass.c (readSignatureAttribute):
Guarded to avoid building it for kaffeh.

Members: 
        ChangeLog:1.4723->1.4724 
        kaffe/kaffevm/readClass.c:1.26->1.27 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4723 kaffe/ChangeLog:1.4724
--- kaffe/ChangeLog:1.4723      Thu Apr  6 03:11:00 2006
+++ kaffe/ChangeLog     Thu Apr  6 03:29:45 2006
@@ -1,5 +1,10 @@
 2006-04-06  Dalibor Topic  <[EMAIL PROTECTED]>
 
+       * kaffe/kaffevm/readClass.c (readSignatureAttribute): 
+       Guarded to avoid building it for kaffeh.
+
+2006-04-06  Dalibor Topic  <[EMAIL PROTECTED]>
+
        * kaffe/kaffevm/classMethod.h: Made 
        methods.c.bcode.codelen an unsigned int.
 
Index: kaffe/kaffe/kaffevm/readClass.c
diff -u kaffe/kaffe/kaffevm/readClass.c:1.26 
kaffe/kaffe/kaffevm/readClass.c:1.27
--- kaffe/kaffe/kaffevm/readClass.c:1.26        Thu Mar 30 17:39:16 2006
+++ kaffe/kaffe/kaffevm/readClass.c     Thu Apr  6 03:29:51 2006
@@ -196,6 +196,7 @@
        return (true);
 }
 
+#if !defined(KAFFEH)
 static bool
 readSignatureAttribute(Hjava_lang_Class* this, u2 idx, Utf8Const **signature, 
errorInfo *einfo)
 {
@@ -213,6 +214,7 @@
   *signature = WORD2UTF (pool->data[idx]);
   return true;
 }
+#endif /* !defined(KAFFEH) */
 
 /*
  * Read in attributes.

_______________________________________________
kaffe mailing list
[email protected]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to