Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/xscale uninitialized variable.
details: https://anonhg.NetBSD.org/src/rev/a8633021165e
branches: trunk
changeset: 554461:a8633021165e
user: chs <chs%NetBSD.org@localhost>
date: Tue Oct 28 15:31:33 2003 +0000
description:
uninitialized variable.
diffstat:
sys/arch/arm/xscale/xscale_pmc.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 1c1aea5b123e -r a8633021165e sys/arch/arm/xscale/xscale_pmc.c
--- a/sys/arch/arm/xscale/xscale_pmc.c Tue Oct 28 15:28:24 2003 +0000
+++ b/sys/arch/arm/xscale/xscale_pmc.c Tue Oct 28 15:31:33 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xscale_pmc.c,v 1.6 2003/01/17 22:28:50 thorpej Exp $ */
+/* $NetBSD: xscale_pmc.c,v 1.7 2003/10/28 15:31:33 chs Exp $ */
/*
* Copyright (c) 2002 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xscale_pmc.c,v 1.6 2003/01/17 22:28:50 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xscale_pmc.c,v 1.7 2003/10/28 15:31:33 chs Exp $");
#include <sys/param.h>
#include <sys/malloc.h>
@@ -521,6 +521,7 @@
__asm __volatile("mrc p14, 0, %0, c3, c0, 0" : "=r" (val));
break;
default:
+ val = 0;
break;
}
Home |
Main Index |
Thread Index |
Old Index