Date: Tue, 22 Jun 2010 18:30:11 GMT From: dfilter@FreeBSD.ORG (dfilter service) To: freebsd-geom@FreeBSD.org Subject: Re: bin/139970: commit references a PR Message-ID: <201006221830.o5MIUBG8052609@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/139970; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: bin/139970: commit references a PR Date: Tue, 22 Jun 2010 18:24:56 +0000 (UTC) Author: ae Date: Tue Jun 22 18:24:26 2010 New Revision: 209434 URL: http://svn.freebsd.org/changeset/base/209434 Log: MFC r198478 (by lulf): - Initialize variable in order to avoid GCC warning and enable WARNS=6. PR: bin/139970 Submitted by: Ulrich Spörlein <uqs -at- spoerlein.net> Approved by: kib (mentor) Modified: stable/8/sbin/geom/class/part/Makefile stable/8/sbin/geom/class/part/geom_part.c Directory Properties: stable/8/sbin/geom/ (props changed) stable/8/sbin/geom/class/part/ (props changed) stable/8/sbin/geom/class/stripe/ (props changed) Modified: stable/8/sbin/geom/class/part/Makefile ============================================================================== --- stable/8/sbin/geom/class/part/Makefile Tue Jun 22 17:45:21 2010 (r209433) +++ stable/8/sbin/geom/class/part/Makefile Tue Jun 22 18:24:26 2010 (r209434) @@ -6,6 +6,4 @@ CLASS= part LDADD= -lutil -WARNS?= 4 - .include <bsd.lib.mk> Modified: stable/8/sbin/geom/class/part/geom_part.c ============================================================================== --- stable/8/sbin/geom/class/part/geom_part.c Tue Jun 22 17:45:21 2010 (r209433) +++ stable/8/sbin/geom/class/part/geom_part.c Tue Jun 22 18:24:26 2010 (r209434) @@ -206,6 +206,7 @@ find_provider(struct ggeom *gp, unsigned unsigned long long sector, bestsector; bestpp = NULL; + bestsector = 0; LIST_FOREACH(pp, &gp->lg_provider, lg_provider) { s = find_provcfg(pp, "start"); if (s == NULL) { _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006221830.o5MIUBG8052609>
