| Summary: | [PATCH] remove some kernel compile warnings | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Gregory Bond <gnb> | ||||
| Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Unspecified | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Gregory Bond
1999-09-20 04:00:01 UTC
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 - This PR can be closed as 3.x is now (close to) End-of-Life. State Changed From-To: open->closed Closed per originator's request. |