From 60c8a6e9a7a26f75c81e93cdbd1770448549d00d Mon Sep 17 00:00:00 2001 From: Jonathan Gray <jsg@cvs.openbsd.org> Date: Mon, 28 Jun 2010 05:43:47 +0000 Subject: add back the initialisation of a loop condition that was mistakenly removed in 1.208 ok dlg@ marco@ --- sys/dev/ic/ami.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/ic') diff --git a/sys/dev/ic/ami.c b/sys/dev/ic/ami.c index 4547376579c..d0dcfa34310 100644 --- a/sys/dev/ic/ami.c +++ b/sys/dev/ic/ami.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ami.c,v 1.209 2010/06/23 04:53:53 dlg Exp $ */ +/* $OpenBSD: ami.c,v 1.210 2010/06/28 05:43:46 jsg Exp $ */ /* * Copyright (c) 2001 Michael Shalayeff @@ -1013,7 +1013,7 @@ ami_complete(struct ami_softc *sc, struct ami_ccb *ccb, int timeout) { void (*done)(struct ami_softc *, struct ami_ccb *); int ready; - int i; + int i = 0; int s; done = ccb->ccb_done; -- cgit v1.2.3