about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/recv.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2008-07-02 19:35:02 +0000
committerRoland McGrath <roland@gnu.org>2008-07-02 19:35:02 +0000
commitd5a0160b583dbd08d77c999c2acc4b72c2a6d9db (patch)
treeaa8b2bb2a11412921cf6f6635ef8e57826097269 /sysdeps/mach/hurd/recv.c
parent0a583b5419a785591ba9607f32e4bc0d18c838e2 (diff)
downloadglibc-d5a0160b583dbd08d77c999c2acc4b72c2a6d9db.tar.gz
glibc-d5a0160b583dbd08d77c999c2acc4b72c2a6d9db.tar.xz
glibc-d5a0160b583dbd08d77c999c2acc4b72c2a6d9db.zip
* sysdeps/mach/hurd/recv.c (__recv): Initialize NPORTS. cvs/fedora-glibc-20080703T1203
	* sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
	* sysdeps/mach/hurd/recvmsg.c (__recvmsg): Likewise.
	* hurd/fd-read.c (_hurd_fd_read): Initialize NREAD.
	* hurd/get-host.c (_hurd_get_host_config): Likewise.
	* sysdeps/mach/hurd/dl-sysdep.c (__libc_read): Likewise.
Diffstat (limited to 'sysdeps/mach/hurd/recv.c')
-rw-r--r--sysdeps/mach/hurd/recv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/recv.c b/sysdeps/mach/hurd/recv.c
index a01e6090d3..0cf6b7ce58 100644
--- a/sysdeps/mach/hurd/recv.c
+++ b/sysdeps/mach/hurd/recv.c
@@ -38,7 +38,7 @@ __recv (fd, buf, n, flags)
   char *bufp = buf;
   mach_msg_type_number_t nread = n;
   mach_port_t *ports;
-  mach_msg_type_number_t nports;
+  mach_msg_type_number_t nports = 0;
   char *cdata = NULL;
   mach_msg_type_number_t clen = 0;