From e0e744e6d3fb97c2ec27132ef6994c5033f96be9 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Fri, 28 Jun 2013 18:20:05 +0000 Subject: Uninitialized variable; Maxime Villard --- sys/arch/zaurus/dev/zaurus_flash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/zaurus/dev') 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 @@ -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; -- cgit v1.2.3