bin/139970: commit references a PR
dfilter service
dfilter at FreeBSD.ORG
Tue Jun 22 18:30:11 UTC 2010
The following reply was made to PR bin/139970; it has been noted by GNATS.
From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at 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 at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
More information about the freebsd-geom
mailing list