From b2f7ab039b1fa2b8d23318b14fd37933528e0824 Mon Sep 17 00:00:00 2001 From: ian Date: Sat, 27 Dec 2014 00:01:28 +0000 Subject: MFC r274926: Squelch a (bogus) gcc used before init warning --- sys/dev/mpt/mpt.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev') diff --git a/sys/dev/mpt/mpt.c b/sys/dev/mpt/mpt.c index 2f7bfc2..d5b2a18 100644 --- a/sys/dev/mpt/mpt.c +++ b/sys/dev/mpt/mpt.c @@ -1334,6 +1334,7 @@ mpt_wait_req(struct mpt_softc *mpt, request_t *req, /* Set timeout as well so final timeout check works. */ timeout = time_ms; } else { + sbt = 0; /* Squelch bogus gcc warning. */ timeout = time_ms * 2; } req->state |= REQ_STATE_NEED_WAKEUP; -- cgit v1.1