summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-07-06 13:23:56 +0000
committerpeter <peter@FreeBSD.org>1999-07-06 13:23:56 +0000
commita976cecf40c69cfb96f7e7218b97a580060882e1 (patch)
tree25faa575f544d55eb5df73ca748c3e6ed85a2bec /sys/amd64
parente73ec19b11b49cd8d4d8f129c1be83e9409eede6 (diff)
downloadFreeBSD-src-a976cecf40c69cfb96f7e7218b97a580060882e1.zip
FreeBSD-src-a976cecf40c69cfb96f7e7218b97a580060882e1.tar.gz
Quieten gcc paranoia.
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/identcpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/identcpu.c b/sys/amd64/amd64/identcpu.c
index d8a0d40..9ed2869 100644
--- a/sys/amd64/amd64/identcpu.c
+++ b/sys/amd64/amd64/identcpu.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: Id: machdep.c,v 1.193 1996/06/18 01:22:04 bde Exp
- * $Id: identcpu.c,v 1.69 1999/07/06 06:25:38 green Exp $
+ * $Id: identcpu.c,v 1.70 1999/07/06 12:42:26 peter Exp $
*/
#include "opt_cpu.h"
@@ -128,7 +128,7 @@ void
printcpuinfo(void)
{
- u_int regs[4], nreg;
+ u_int regs[4], nreg = 0;
cpu_class = i386_cpus[cpu].cpu_class;
printf("CPU: ");
strncpy(cpu_model, i386_cpus[cpu].cpu_name, sizeof cpu_model);
OpenPOWER on IntegriCloud