svn commit: r276270 - stable/10/sys/dev/mpt

Ian Lepore ian at FreeBSD.org
Sat Dec 27 00:01:29 UTC 2014


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;


More information about the svn-src-stable mailing list