Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Sep 1999 12:00:01 -0700 (PDT)
From:      Bill Fumerola <billf@jade.chc-chimes.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/13846: [Patch] bunch of kernel compile warnings fixed
Message-ID:  <199909201900.MAA38570@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/13846; it has been noted by GNATS.

From: Bill Fumerola <billf@jade.chc-chimes.com>
To: Gregory Bond <gnb@itga.com.au>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: kern/13846: [Patch] bunch of kernel compile warnings fixed
Date: Mon, 20 Sep 1999 13:59:39 -0400 (EDT)

 On Mon, 20 Sep 1999, Gregory Bond wrote:
 
 > -	u_int regs[4], nreg;
 > +	u_int regs[4];
 > +	u_int nreg = 0; /* Used iff strcmp(cpu_vendor,"AuthenticAMD") == 0 */
 > +
 
 We don't initialize variables in thier declaration, see style(9)
 
 > -	u_int64_t old_tsc;
 > +	u_int64_t old_tsc = 0; /* used iff tsc_present */
 
 Ditto.
 
 
 
 -- 
 - bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp -
 - ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@FreeBSD.org  -
 
 
 
 
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909201900.MAA38570>