[kaffe] CVS kaffe (robilad): Small warning fix

Kaffe CVS cvs-commits at kaffe.org
Mon Dec 19 18:10:33 PST 2005


PatchSet 7020 
Date: 2005/12/20 02:02:53
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Small warning fix

2005-12-20  Dalibor Topic  <robilad at kaffe.org>

        * kaffe/kaffevm/systems/unix-pthreads/syscalls.c
        (jthreadedRecvfrom): Initialize r.

Members: 
	ChangeLog:1.4540->1.4541 
	kaffe/kaffevm/systems/unix-pthreads/syscalls.c:1.35->1.36 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4540 kaffe/ChangeLog:1.4541
--- kaffe/ChangeLog:1.4540	Mon Dec 19 23:14:15 2005
+++ kaffe/ChangeLog	Tue Dec 20 02:02:53 2005
@@ -1,3 +1,8 @@
+2005-12-20  Dalibor Topic  <robilad at kaffe.org>
+
+	* kaffe/kaffevm/systems/unix-pthreads/syscalls.c
+	(jthreadedRecvfrom): Initialize r.
+
 2005-12-19  Dalibor Topic  <robilad at kaffe.org>
 
 	* kaffe/kaffeh/support.c
Index: kaffe/kaffe/kaffevm/systems/unix-pthreads/syscalls.c
diff -u kaffe/kaffe/kaffevm/systems/unix-pthreads/syscalls.c:1.35 kaffe/kaffe/kaffevm/systems/unix-pthreads/syscalls.c:1.36
--- kaffe/kaffe/kaffevm/systems/unix-pthreads/syscalls.c:1.35	Sat Nov 26 21:28:14 2005
+++ kaffe/kaffe/kaffevm/systems/unix-pthreads/syscalls.c	Tue Dec 20 02:02:58 2005
@@ -595,7 +595,7 @@
 jthreadedRecvfrom(int fd, void* buf, size_t len, int flags, 
 	struct sockaddr* from, socklen_t* fromlen, int timeout, ssize_t *out)
 {
-	int r;
+	int r = 0;
 	jlong deadline = 0;
 	int poll_timeout;
 	int blocking = jthread_is_blocking(fd);



More information about the kaffe mailing list