Work around another uninitialized variable warning

This commit is contained in:
scottr 1996-12-18 05:44:31 +00:00
parent c2958a4c33
commit 3ac126bc23
2 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: fpu_emulate.c,v 1.13 1996/12/17 19:27:51 gwr Exp $ */
/* $NetBSD: fpu_emulate.c,v 1.14 1996/12/18 05:44:31 scottr Exp $ */
/*
* Copyright (c) 1995 Gordon W. Ross
@ -88,7 +88,7 @@ fpu_emulate(frame, fpf)
{
static struct instruction insn;
static struct fpemu fe;
u_int savedpc;
u_int savedpc = 0; /* XXX work around gcc -O lossage */
int word, optype, sig;
#ifdef DEBUG

View File

@ -1,4 +1,4 @@
/* $NetBSD: autoconf.c,v 1.37 1996/10/23 13:35:41 briggs Exp $ */
/* $NetBSD: autoconf.c,v 1.38 1996/12/18 05:46:09 scottr Exp $ */
/*
* Copyright (c) 1992, 1993
@ -256,6 +256,7 @@ setroot(void)
bootdv = booted_device;
bootpartition = booted_partition;
rootdv = swapdv = NULL; /* XXX work around gcc warning */
#ifdef DEBUG
printf("boot device: %s\n",