Date: Sun, 23 Nov 2014 21:37:34 +0000 (UTC) From: Ian Lepore <ian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r274926 - head/sys/dev/mpt Message-ID: <201411232137.sANLbY0F097559@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411232137.sANLbY0F097559>