diff options
author | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2013-12-05 14:22:43 +0000 |
---|---|---|
committer | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2013-12-05 14:22:43 +0000 |
commit | 49b8828bc3a454dc79b6d77fcf57a31ab5c58f73 (patch) | |
tree | 072cfa39299140d20acd36787f4a66709362aea3 /usr.sbin/ypserv | |
parent | 558f4e9642e438ea24abc47c2225c0466ba8b74e (diff) |
Properly initialize 'transp' to appease the compiler. ok millert@
Diffstat (limited to 'usr.sbin/ypserv')
-rw-r--r-- | usr.sbin/ypserv/ypserv/ypserv.c | 4 |
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) { |