diff options
| author | christos <christos@NetBSD.org> | 2003-10-26 19:18:16 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2003-10-26 19:18:16 +0000 |
| commit | 105af83a85d048ca80cec7e94a70f409db1bfabb (patch) | |
| tree | 74e52971aa2e07dea3ed4915ff7f3ea46884fcfe /sys | |
| parent | 2b104ea9cd9e7b9731d23b65fe59e47a3a24fdb1 (diff) | |
Fix uninitialized variable warning.
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/arch/sparc64/sparc64/pmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc64/sparc64/pmap.c b/sys/arch/sparc64/sparc64/pmap.c index 0baf09f657d..c29624e6756 100644 --- a/sys/arch/sparc64/sparc64/pmap.c +++ b/sys/arch/sparc64/sparc64/pmap.c @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.147 2003/10/21 12:08:11 kleink Exp $ */ +/* $NetBSD: pmap.c,v 1.148 2003/10/26 19:18:16 christos Exp $ */ /* * * Copyright (C) 1996-1999 Eduardo Horvath. @@ -26,7 +26,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.147 2003/10/21 12:08:11 kleink Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.148 2003/10/26 19:18:16 christos Exp $"); #undef NO_VCACHE /* Don't forget the locked TLB in dostart */ #define HWREF @@ -1843,7 +1843,7 @@ pmap_enter(pm, va, pa, prot, flags) { pte_t tte; int64_t data; - paddr_t opa, ptp; + paddr_t opa = 0, ptp; /* XXX: gcc */ pv_entry_t pvh, npv = NULL; struct vm_page *pg, *opg, *ptpg; int s, i, uncached = 0; |
