summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-08-24 17:03:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-08-24 17:03:16 +0000
commitee3ec4ce820255c196ea7ad6262d51c1ad9fad8c (patch)
tree0aaf197e0cb18c089542c4eb83691cc0d2d629aa /lib
parentb91dd5946bd82569410ea68ec726afa2fade0ee5 (diff)
uninit variables
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/rpc/clnt_tcp.c4
-rw-r--r--lib/libc/rpc/clnt_udp.c4
-rw-r--r--lib/libc/rpc/pmap_rmt.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/rpc/clnt_tcp.c b/lib/libc/rpc/clnt_tcp.c
index 929f49713cf..441b1b91978 100644
--- a/lib/libc/rpc/clnt_tcp.c
+++ b/lib/libc/rpc/clnt_tcp.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: clnt_tcp.c,v 1.16 1998/05/19 06:58:51 deraadt Exp $";
+static char *rcsid = "$OpenBSD: clnt_tcp.c,v 1.17 2000/08/24 17:03:15 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -117,7 +117,7 @@ clnttcp_create(raddr, prog, vers, sockp, sendsz, recvsz)
u_int recvsz;
{
CLIENT *h;
- register struct ct_data *ct;
+ register struct ct_data *ct = NULL;
struct timeval now;
struct rpc_msg call_msg;
diff --git a/lib/libc/rpc/clnt_udp.c b/lib/libc/rpc/clnt_udp.c
index 4d4eeba248f..6e8120bdb8d 100644
--- a/lib/libc/rpc/clnt_udp.c
+++ b/lib/libc/rpc/clnt_udp.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: clnt_udp.c,v 1.15 1998/03/01 10:05:33 deraadt Exp $";
+static char *rcsid = "$OpenBSD: clnt_udp.c,v 1.16 2000/08/24 17:03:15 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -113,7 +113,7 @@ clntudp_bufcreate(raddr, program, version, wait, sockp, sendsz, recvsz)
u_int recvsz;
{
CLIENT *cl;
- register struct cu_data *cu;
+ register struct cu_data *cu = NULL;
struct timeval now;
struct rpc_msg call_msg;
diff --git a/lib/libc/rpc/pmap_rmt.c b/lib/libc/rpc/pmap_rmt.c
index 0b6edb45cf1..9871ae44ab1 100644
--- a/lib/libc/rpc/pmap_rmt.c
+++ b/lib/libc/rpc/pmap_rmt.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: pmap_rmt.c,v 1.17 2000/05/19 17:33:42 itojun Exp $";
+static char *rcsid = "$OpenBSD: pmap_rmt.c,v 1.18 2000/08/24 17:03:15 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -232,7 +232,7 @@ clnt_broadcast(prog, vers, proc, xargs, argsp, xresults, resultsp, eachresult)
int outlen, inlen, fromlen, nets;
register int sock = -1;
int on = 1;
- fd_set *fds, readfds;
+ fd_set *fds = NULL, readfds;
register int i;
bool_t done = FALSE;
register u_long xid;