Date: Sat, 27 Dec 2014 00:01:29 +0000 (UTC) From: Ian Lepore <ian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r276270 - stable/10/sys/dev/mpt Message-ID: <201412270001.sBR01TbI010133@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ian Date: Sat Dec 27 00:01:28 2014 New Revision: 276270 URL: https://svnweb.freebsd.org/changeset/base/276270 Log: MFC r274926: Squelch a (bogus) gcc used before init warning Modified: stable/10/sys/dev/mpt/mpt.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/dev/mpt/mpt.c ============================================================================== --- stable/10/sys/dev/mpt/mpt.c Fri Dec 26 23:18:09 2014 (r276269) +++ stable/10/sys/dev/mpt/mpt.c Sat Dec 27 00:01:28 2014 (r276270) @@ -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?201412270001.sBR01TbI010133>