[kaffe] CVS kaffe (robilad): Warning fix for PlainSocketImpl
Kaffe CVS
cvs-commits at kaffe.org
Thu Aug 11 20:02:16 PDT 2005
PatchSet 6815
Date: 2005/08/12 02:26:07
Author: robilad
Branch: HEAD
Tag: (none)
Log:
Warning fix for PlainSocketImpl
2005-08-11 Andreas Tobler <a.tobler at schweiz.ch>
* libraries/clib/net/PlainSocketImpl.c
(gnu_java_net_PlainSocketImpl_socketGetOption): Initialize r.
Members:
ChangeLog:1.4340->1.4341
libraries/clib/net/PlainSocketImpl.c:1.55->1.56
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4340 kaffe/ChangeLog:1.4341
--- kaffe/ChangeLog:1.4340 Fri Aug 12 01:58:39 2005
+++ kaffe/ChangeLog Fri Aug 12 02:26:07 2005
@@ -1,5 +1,10 @@
2005-08-11 Andreas Tobler <a.tobler at schweiz.ch>
+ * libraries/clib/net/PlainSocketImpl.c
+ (gnu_java_net_PlainSocketImpl_socketGetOption): Initialize r.
+
+2005-08-11 Andreas Tobler <a.tobler at schweiz.ch>
+
* kaffe/kaffevm/jit3/funcs.h: Add HAVE_move_register_float and
HAVE_move_register_double to fix compiler warnings.
Index: kaffe/libraries/clib/net/PlainSocketImpl.c
diff -u kaffe/libraries/clib/net/PlainSocketImpl.c:1.55 kaffe/libraries/clib/net/PlainSocketImpl.c:1.56
--- kaffe/libraries/clib/net/PlainSocketImpl.c:1.55 Sat May 14 21:46:54 2005
+++ kaffe/libraries/clib/net/PlainSocketImpl.c Fri Aug 12 02:26:15 2005
@@ -621,7 +621,7 @@
{
struct sockaddr_in addr;
socklen_t alen = sizeof(addr);
- int r, v;
+ int r = 0, v;
socklen_t vsize = sizeof(v);
unsigned int k;
More information about the kaffe
mailing list