From owner-svn-src-all@freebsd.org Fri Oct 9 18:26:25 2015 Return-Path: Delivered-To: svn-src-all@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 9A3F59D2B75; Fri, 9 Oct 2015 18:26:25 +0000 (UTC) (envelope-from emaste@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 6644DA2D; Fri, 9 Oct 2015 18:26:25 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t99IQOiC056384; Fri, 9 Oct 2015 18:26:24 GMT (envelope-from emaste@FreeBSD.org) Received: (from emaste@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t99IQOUj056383; Fri, 9 Oct 2015 18:26:24 GMT (envelope-from emaste@FreeBSD.org) Message-Id: <201510091826.t99IQOUj056383@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: emaste set sender to emaste@FreeBSD.org using -f From: Ed Maste Date: Fri, 9 Oct 2015 18:26:24 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r289074 - head/contrib/elftoolchain/addr2line X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Fri, 09 Oct 2015 19:11:56 +0000 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 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: Fri, 09 Oct 2015 18:26:25 -0000 Author: emaste Date: Fri Oct 9 18:26:24 2015 New Revision: 289074 URL: https://svnweb.freebsd.org/changeset/base/289074 Log: addr2line: initialize die to NULL GCC on MIPS produced a 'may be used uninitialized' warning after r289071. Reported by: sbruno Pointy hat to: emaste Modified: head/contrib/elftoolchain/addr2line/addr2line.c Modified: head/contrib/elftoolchain/addr2line/addr2line.c ============================================================================== --- head/contrib/elftoolchain/addr2line/addr2line.c Fri Oct 9 18:23:10 2015 (r289073) +++ head/contrib/elftoolchain/addr2line/addr2line.c Fri Oct 9 18:26:24 2015 (r289074) @@ -228,6 +228,7 @@ translate(Dwarf_Debug dbg, const char* a addr += section_base; lineno = 0; file = unknown; + die = NULL; lbuf = NULL; lcount = 0;