diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2013-06-28 18:20:05 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2013-06-28 18:20:05 +0000 |
commit | e0e744e6d3fb97c2ec27132ef6994c5033f96be9 (patch) | |
tree | fce8d9ca54ce5164d9fb1a4760f862381ba94d88 /sys/arch/zaurus | |
parent | 0f2280faf68593d3ae5f8f6fb6246ce10ed943e6 (diff) |
Uninitialized variable; Maxime Villard
Diffstat (limited to 'sys/arch/zaurus')
-rw-r--r-- | sys/arch/zaurus/dev/zaurus_flash.c | 4 |
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; |