From owner-svn-src-head@FreeBSD.ORG Mon Nov 26 02:04:11 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DE387F17; Mon, 26 Nov 2012 02:04:11 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id C340F8FC0C; Mon, 26 Nov 2012 02:04:11 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qAQ24BWZ068680; Mon, 26 Nov 2012 02:04:11 GMT (envelope-from mav@svn.freebsd.org) Received: (from mav@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qAQ24B88068679; Mon, 26 Nov 2012 02:04:11 GMT (envelope-from mav@svn.freebsd.org) Message-Id: <201211260204.qAQ24B88068679@svn.freebsd.org> From: Alexander Motin Date: Mon, 26 Nov 2012 02:04:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r243535 - head/sys/dev/sound/pci/hda 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.14 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: Mon, 26 Nov 2012 02:04:12 -0000 Author: mav Date: Mon Nov 26 02:04:11 2012 New Revision: 243535 URL: http://svnweb.freebsd.org/changeset/base/243535 Log: Fix uninitialized variable reported by gcc, but not clang. Modified: head/sys/dev/sound/pci/hda/hdaa.c Modified: head/sys/dev/sound/pci/hda/hdaa.c ============================================================================== --- head/sys/dev/sound/pci/hda/hdaa.c Mon Nov 26 01:57:22 2012 (r243534) +++ head/sys/dev/sound/pci/hda/hdaa.c Mon Nov 26 02:04:11 2012 (r243535) @@ -5552,7 +5552,7 @@ hdaa_dump_ctls(struct hdaa_pcm_devinfo * struct hdaa_devinfo *devinfo = pdevinfo->devinfo; struct hdaa_audio_ctl *ctl; char buf[64]; - int i, j, printed; + int i, j, printed = 0; if (flag == 0) { flag = ~(SOUND_MASK_VOLUME | SOUND_MASK_PCM |