svn commit: r243535 - head/sys/dev/sound/pci/hda
Alexander Motin
mav at FreeBSD.org
Mon Nov 26 02:04:12 UTC 2012
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 |
More information about the svn-src-head
mailing list