From owner-svn-src-head@freebsd.org Fri Apr 7 22:58:36 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3830CD323B4; Fri, 7 Apr 2017 22:58:36 +0000 (UTC) (envelope-from kan@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 06A74305; Fri, 7 Apr 2017 22:58:35 +0000 (UTC) (envelope-from kan@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v37MwZKI005065; Fri, 7 Apr 2017 22:58:35 GMT (envelope-from kan@FreeBSD.org) Received: (from kan@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v37MwZwS005064; Fri, 7 Apr 2017 22:58:35 GMT (envelope-from kan@FreeBSD.org) Message-Id: <201704072258.v37MwZwS005064@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kan set sender to kan@FreeBSD.org using -f From: Alexander Kabaev Date: Fri, 7 Apr 2017 22:58:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r316628 - head/sys/boot/efi/boot1 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Apr 2017 22:58:36 -0000 Author: kan Date: Fri Apr 7 22:58:34 2017 New Revision: 316628 URL: https://svnweb.freebsd.org/changeset/base/316628 Log: Silence GCC warning by initializing the local variable. GCC 6.3 is unable to trace all code paths that lead to this variable being left uninitialized and correlate that to function return values. Modified: head/sys/boot/efi/boot1/boot1.c Modified: head/sys/boot/efi/boot1/boot1.c ============================================================================== --- head/sys/boot/efi/boot1/boot1.c Fri Apr 7 22:58:31 2017 (r316627) +++ head/sys/boot/efi/boot1/boot1.c Fri Apr 7 22:58:34 2017 (r316628) @@ -529,6 +529,7 @@ probe_handle_status(EFI_HANDLE h, EFI_DE EFI_STATUS status; BOOLEAN preferred; + preferred = FALSE; status = probe_handle(h, imgpath, &preferred); DPRINTF("probe: ");