Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Oct 2009 07:50:02 GMT
From:      dfilter@FreeBSD.ORG (dfilter service)
To:        freebsd-geom@FreeBSD.org
Subject:   Re: bin/139970: commit references a PR
Message-ID:  <200910260750.n9Q7o2a9066902@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: 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@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?200910260750.n9Q7o2a9066902>