summaryrefslogtreecommitdiff
path: root/sys/arch/zaurus/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-06-28 18:20:05 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-06-28 18:20:05 +0000
commite0e744e6d3fb97c2ec27132ef6994c5033f96be9 (patch)
treefce8d9ca54ce5164d9fb1a4760f862381ba94d88 /sys/arch/zaurus/dev
parent0f2280faf68593d3ae5f8f6fb6246ce10ed943e6 (diff)
Uninitialized variable; Maxime Villard
Diffstat (limited to 'sys/arch/zaurus/dev')
-rw-r--r--sys/arch/zaurus/dev/zaurus_flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/zaurus/dev/zaurus_flash.c b/sys/arch/zaurus/dev/zaurus_flash.c
index ecddc62b3a4..39a20051a57 100644
--- a/sys/arch/zaurus/dev/zaurus_flash.c
+++ b/sys/arch/zaurus/dev/zaurus_flash.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zaurus_flash.c,v 1.10 2013/06/01 22:06:47 deraadt Exp $ */
+/* $OpenBSD: zaurus_flash.c,v 1.11 2013/06/28 18:20:04 miod Exp $ */
/*
* Copyright (c) 2005 Uwe Stuehler <uwe@openbsd.org>
@@ -886,7 +886,7 @@ zflash_oob_set_logno(struct zflash_softc *sc, u_char *oob, u_int logno)
u_int16_t bit;
u_char lo;
u_char hi;
- int parity;
+ int parity = 0;
/* Why do we set the most significant bit? */
word = ((logno & 0x03ff) << 1) | 0x1000;