initialize uninitialized
This commit is contained in:
parent
e921d39cf4
commit
7585316531
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pmap_motorola.c,v 1.7 2003/09/27 20:01:59 cl Exp $ */
|
||||
/* $NetBSD: pmap_motorola.c,v 1.8 2003/10/27 02:03:10 cl Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
||||
|
@ -124,7 +124,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: pmap_motorola.c,v 1.7 2003/09/27 20:01:59 cl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: pmap_motorola.c,v 1.8 2003/10/27 02:03:10 cl Exp $");
|
||||
|
||||
#include "opt_compat_hpux.h"
|
||||
|
||||
|
@ -1679,6 +1679,10 @@ pmap_extract(pmap, va, pap)
|
|||
paddr_t pa;
|
||||
u_int pte;
|
||||
|
||||
#ifdef DEBUG
|
||||
pa = 0; /* XXX: gcc */
|
||||
#endif
|
||||
|
||||
PMAP_DPRINTF(PDB_FOLLOW,
|
||||
("pmap_extract(%p, %lx) -> ", pmap, va));
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: sig_machdep.c,v 1.24 2003/10/08 00:28:41 thorpej Exp $ */
|
||||
/* $NetBSD: sig_machdep.c,v 1.25 2003/10/27 02:03:10 cl Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1986, 1990, 1993
|
||||
|
@ -75,7 +75,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.24 2003/10/08 00:28:41 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.25 2003/10/27 02:03:10 cl Exp $");
|
||||
|
||||
#include "opt_compat_netbsd.h"
|
||||
|
||||
|
@ -355,7 +355,7 @@ cpu_setmcontext(l, mcp, flags)
|
|||
__greg_t *gr = mcp->__gregs;
|
||||
struct frame *frame = (struct frame *)l->l_md.md_regs;
|
||||
unsigned int format = mcp->__mc_pad.__mc_frame.__mcf_format;
|
||||
int sz;
|
||||
int sz = 0; /* XXX: gcc */
|
||||
|
||||
/* Validate the supplied context */
|
||||
if (((flags & _UC_CPU) != 0 &&
|
||||
|
|
Loading…
Reference in New Issue