From 8bd48ca8d4241163d36fa8c45dfb7337f9edf1e2 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Tue, 6 Jul 1999 13:23:56 +0000 Subject: [PATCH] Quieten gcc paranoia. --- sys/amd64/amd64/identcpu.c | 4 ++-- sys/i386/i386/identcpu.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/amd64/amd64/identcpu.c b/sys/amd64/amd64/identcpu.c index d8a0d40dbb8d..9ed28696af67 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); diff --git a/sys/i386/i386/identcpu.c b/sys/i386/i386/identcpu.c index d8a0d40dbb8d..9ed28696af67 100644 --- a/sys/i386/i386/identcpu.c +++ b/sys/i386/i386/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);