The following reply was made to PR bin/139970; it has been noted by GNATS.
From:
dfilter@... (dfilter service)
To:
bug-followup@...
Cc:
Subject: Re: bin/139970: commit references a PR
Date: Mon, 26 Oct 2009 07:43:56 +0000 (UTC)
Author: lulf
Date: Mon Oct 26 07:43:41 2009
New Revision: 198478
URL:
http://svn.freebsd.org/changeset/base/198478
Log:
- Initialize variable in order to avoid GCC warning and enable WARNS=6.
PR: bin/139970
Submitted by: Ulrich Spörlein <uqs -at- spoerlein.net>
Modified:
head/sbin/geom/class/part/Makefile
head/sbin/geom/class/part/geom_part.c
Modified: head/sbin/geom/class/part/Makefile
==============================================================================
--- head/sbin/geom/class/part/Makefile Mon Oct 26 06:51:20 2009 (r198477)
+++ head/sbin/geom/class/part/Makefile Mon Oct 26 07:43:41 2009 (r198478)
@@ -6,6 +6,4 @@ CLASS= part
LDADD= -lutil
-WARNS?= 4
-
.include <bsd.lib.mk>
Modified: head/sbin/geom/class/part/geom_part.c
==============================================================================
--- head/sbin/geom/class/part/geom_part.c Mon Oct 26 06:51:20 2009 (r198477)
+++ head/sbin/geom/class/part/geom_part.c Mon Oct 26 07:43:41 2009 (r198478)
@@ -192,6 +192,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@... mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "
svn-src-all-unsubscribe@..."
_______________________________________________
freebsd-geom@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-geomTo unsubscribe, send any mail to "
freebsd-geom-unsubscribe@..."