Author: kevlo Date: Sat Sep 4 08:42:19 2010 New Revision: 212195 URL: http://svn.freebsd.org/changeset/base/212195
Log: Shut the compiler up; initializes the sotype variable to zero in nfs_tryproto(). Reviewed by: rmacklem Modified: head/sbin/mount_nfs/mount_nfs.c Modified: head/sbin/mount_nfs/mount_nfs.c ============================================================================== --- head/sbin/mount_nfs/mount_nfs.c Sat Sep 4 06:36:12 2010 (r212194) +++ head/sbin/mount_nfs/mount_nfs.c Sat Sep 4 08:42:19 2010 (r212195) @@ -866,6 +866,7 @@ nfs_tryproto(struct addrinfo *ai, char * enum clnt_stat stat; enum mountmode trymntmode; + sotype = 0; trymntmode = mountmode; errbuf[0] = '\0'; *errstr = errbuf; _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"