summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/clnt_tcp.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2000-08-24 17:03:15 +0000
committerderaadt <deraadt@openbsd.org>2000-08-24 17:03:15 +0000
commit0029bc2b3c68fcbeb30642c35fde08d7aa27f529 (patch)
treec99b98df419b94f7f833043ccb569fd23ff3462f /lib/libc/rpc/clnt_tcp.c
parentmore fixes in that area; dholland@eecs.harvard.edu (diff)
downloadwireguard-openbsd-0029bc2b3c68fcbeb30642c35fde08d7aa27f529.tar.xz
wireguard-openbsd-0029bc2b3c68fcbeb30642c35fde08d7aa27f529.zip
uninit variables
Diffstat (limited to 'lib/libc/rpc/clnt_tcp.c')
-rw-r--r--lib/libc/rpc/clnt_tcp.c4
1 files changed, 2 insertions, 2 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;