diff options
author | kevlo <kevlo@FreeBSD.org> | 2010-09-04 08:42:19 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2010-09-04 08:42:19 +0000 |
commit | ddc5322166bee8f5c2b317bef177aa7f6d6e3d26 (patch) | |
tree | 148985acac29c96da80e6ed9e6952980055fe80d /sbin/mount_nfs | |
parent | 4b5750a69a283c2576e48edded1d054bb02c2e25 (diff) | |
download | FreeBSD-src-ddc5322166bee8f5c2b317bef177aa7f6d6e3d26.zip FreeBSD-src-ddc5322166bee8f5c2b317bef177aa7f6d6e3d26.tar.gz |
Shut the compiler up; initializes the sotype variable to zero in
nfs_tryproto().
Reviewed by: rmacklem
Diffstat (limited to 'sbin/mount_nfs')
-rw-r--r-- | sbin/mount_nfs/mount_nfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |