Date: Sat, 4 Sep 2010 08:42:19 +0000 (UTC) From: Kevin Lo <kevlo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r212195 - head/sbin/mount_nfs Message-ID: <201009040842.o848gJiK088095@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009040842.o848gJiK088095>