Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc64/sparc64 two more compiler warnings killed.



details:   https://anonhg.NetBSD.org/src/rev/fb0be1346d4a
branches:  trunk
changeset: 484871:fb0be1346d4a
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Apr 14 04:08:26 2000 +0000

description:
two more compiler warnings killed.

diffstat:

 sys/arch/sparc64/sparc64/pmap.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r 43fd59f7d836 -r fb0be1346d4a sys/arch/sparc64/sparc64/pmap.c
--- a/sys/arch/sparc64/sparc64/pmap.c   Fri Apr 14 03:36:13 2000 +0000
+++ b/sys/arch/sparc64/sparc64/pmap.c   Fri Apr 14 04:08:26 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.50 2000/04/08 04:45:41 mrg Exp $    */
+/*     $NetBSD: pmap.c,v 1.51 2000/04/14 04:08:26 mrg Exp $    */
 #undef NO_VCACHE /* Don't forget the locked TLB in dostart */
 #define HWREF 1 
 #undef BOOT_DEBUG
@@ -2472,7 +2472,9 @@
 {
        paddr_t pa = VM_PAGE_TO_PHYS(pg);
        int changed = 0;
+#ifdef DEBUG
        int modified = 0;
+#endif
        int i, s;
        register pv_entry_t pv;
        
@@ -2566,7 +2568,9 @@
 {
        paddr_t pa = VM_PAGE_TO_PHYS(pg);
        int changed = 0;
+#ifdef DEBUG
        int referenced = 0;
+#endif
        int i, s;
        register pv_entry_t pv;
 



Home | Main Index | Thread Index | Old Index