Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/marvell Explicitly initialize sometimes-unused varia...
details: https://anonhg.NetBSD.org/src/rev/a64fcce80762
branches: trunk
changeset: 761318:a64fcce80762
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Sun Jan 23 18:13:42 2011 +0000
description:
Explicitly initialize sometimes-unused variable.
diffstat:
sys/dev/marvell/mvpex.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 299df2aa0dbb -r a64fcce80762 sys/dev/marvell/mvpex.c
--- a/sys/dev/marvell/mvpex.c Sun Jan 23 17:38:37 2011 +0000
+++ b/sys/dev/marvell/mvpex.c Sun Jan 23 18:13:42 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mvpex.c,v 1.2 2010/08/01 06:57:06 kiyohara Exp $ */
+/* $NetBSD: mvpex.c,v 1.3 2011/01/23 18:13:42 jakllsch Exp $ */
/*
* Copyright (c) 2008 KIYOHARA Takashi
* All rights reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mvpex.c,v 1.2 2010/08/01 06:57:06 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mvpex.c,v 1.3 2011/01/23 18:13:42 jakllsch Exp $");
#include "opt_pci.h"
#include "pci.h"
@@ -109,7 +109,7 @@
pci_chipset_tag_t mvpex_chipset;
bus_space_tag_t mvpex_io_bs_tag, mvpex_mem_bs_tag;
uint64_t iostart = 0, ioend = 0, memstart = 0, memend = 0;
- uint32_t cl_size;
+ uint32_t cl_size = 0;
int i;
#endif
Home |
Main Index |
Thread Index |
Old Index