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;
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to