From ddc5322166bee8f5c2b317bef177aa7f6d6e3d26 Mon Sep 17 00:00:00 2001 From: kevlo Date: Sat, 4 Sep 2010 08:42:19 +0000 Subject: Shut the compiler up; initializes the sotype variable to zero in nfs_tryproto(). Reviewed by: rmacklem --- sbin/mount_nfs/mount_nfs.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sbin/mount_nfs') diff --git a/sbin/mount_nfs/mount_nfs.c b/sbin/mount_nfs/mount_nfs.c index 5e722a0..5881ab1 100644 --- a/sbin/mount_nfs/mount_nfs.c +++ b/sbin/mount_nfs/mount_nfs.c @@ -866,6 +866,7 @@ nfs_tryproto(struct addrinfo *ai, char *hostp, char *spec, char **errstr, enum clnt_stat stat; enum mountmode trymntmode; + sotype = 0; trymntmode = mountmode; errbuf[0] = '\0'; *errstr = errbuf; -- cgit v1.1