From owner-svn-src-all@FreeBSD.ORG Sun Nov 23 21:37:34 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B34E8EFE; Sun, 23 Nov 2014 21:37:34 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9FFD3A5A; Sun, 23 Nov 2014 21:37:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sANLbYkN097560; Sun, 23 Nov 2014 21:37:34 GMT (envelope-from ian@FreeBSD.org) Received: (from ian@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sANLbY0F097559; Sun, 23 Nov 2014 21:37:34 GMT (envelope-from ian@FreeBSD.org) Message-Id: <201411232137.sANLbY0F097559@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: ian set sender to ian@FreeBSD.org using -f From: Ian Lepore Date: Sun, 23 Nov 2014 21:37:34 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r274926 - head/sys/dev/mpt X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2014 21:37:34 -0000 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;