Shut the compiler up; initializes the sotype variable to zero in

nfs_tryproto().

Reviewed by:	rmacklem
This commit is contained in:
Kevin Lo 2010-09-04 08:42:19 +00:00
parent 96e75396e1
commit d0654c8566

View File

@ -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;