svn commit: r274926 - head/sys/dev/mpt
Ian Lepore
ian at FreeBSD.org
Sun Nov 23 21:37:34 UTC 2014
Author: ian
Date: Sun Nov 23 21:37:33 2014
New Revision: 274926
URL: https://svnweb.freebsd.org/changeset/base/274926
Log:
Squelch a (bogus) used before init warning when building with gcc.
Modified:
head/sys/dev/mpt/mpt.c
Modified: head/sys/dev/mpt/mpt.c
==============================================================================
--- head/sys/dev/mpt/mpt.c Sun Nov 23 21:00:00 2014 (r274925)
+++ head/sys/dev/mpt/mpt.c Sun Nov 23 21:37:33 2014 (r274926)
@@ -1334,6 +1334,7 @@ mpt_wait_req(struct mpt_softc *mpt, requ
/* 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;
More information about the svn-src-all
mailing list