diff options
author | mav <mav@FreeBSD.org> | 2012-11-26 02:04:11 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2012-11-26 02:04:11 +0000 |
commit | d2d8931c58c9343f5dc92c947d83630cd74917da (patch) | |
tree | ad84a7c5333b2ff768db635b5770845db68f1859 /sys/dev/sound | |
parent | 505285b0343d6ce4b0fca8ae0ba9a525750e264c (diff) | |
download | FreeBSD-src-d2d8931c58c9343f5dc92c947d83630cd74917da.zip FreeBSD-src-d2d8931c58c9343f5dc92c947d83630cd74917da.tar.gz |
Fix uninitialized variable reported by gcc, but not clang.
Diffstat (limited to 'sys/dev/sound')
-rw-r--r-- | sys/dev/sound/pci/hda/hdaa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/hda/hdaa.c b/sys/dev/sound/pci/hda/hdaa.c index 556b4e8..69fab04 100644 --- a/sys/dev/sound/pci/hda/hdaa.c +++ b/sys/dev/sound/pci/hda/hdaa.c @@ -5552,7 +5552,7 @@ hdaa_dump_ctls(struct hdaa_pcm_devinfo *pdevinfo, const char *banner, uint32_t f 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 | |