summaryrefslogtreecommitdiff
path: root/usr.sbin/ypserv
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2013-12-05 14:22:43 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2013-12-05 14:22:43 +0000
commit49b8828bc3a454dc79b6d77fcf57a31ab5c58f73 (patch)
tree072cfa39299140d20acd36787f4a66709362aea3 /usr.sbin/ypserv
parent558f4e9642e438ea24abc47c2225c0466ba8b74e (diff)
Properly initialize 'transp' to appease the compiler. ok millert@
Diffstat (limited to 'usr.sbin/ypserv')
-rw-r--r--usr.sbin/ypserv/ypserv/ypserv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ypserv/ypserv/ypserv.c b/usr.sbin/ypserv/ypserv/ypserv.c
index cd562981de8..78513bec1cf 100644
--- a/usr.sbin/ypserv/ypserv/ypserv.c
+++ b/usr.sbin/ypserv/ypserv/ypserv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ypserv.c,v 1.38 2013/11/12 22:27:13 deraadt Exp $ */
+/* $OpenBSD: ypserv.c,v 1.39 2013/12/05 14:22:42 jca Exp $ */
/*
* Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se>
@@ -393,7 +393,7 @@ main(int argc, char *argv[])
struct sockaddr_in saddr;
socklen_t asize = sizeof(saddr);
extern char *optarg;
- SVCXPRT *transp;
+ SVCXPRT *transp = NULL;
while ((ch = getopt(argc, argv, "1a:dx")) != -1)
switch (ch) {