linux/sound/usb
Dan Carpenter 38d7b08f37 ALSA: sound/usb/format: silence uninitialized variable warnings
Gcc complains that ret might be used uninitialized:

sound/usb/format.c: In function ‘snd_usb_parse_audio_format’:
sound/usb/format.c:354: warning: ‘ret’ may be used uninitialized in this function
sound/usb/format.c:354: note: ‘ret’ was declared here
sound/usb/format.c:414: warning: ‘ret’ may be used uninitialized in this function
sound/usb/format.c:414: note: ‘ret’ was declared here

I suppose it could be uninitialized if there is ever a UAC_VERSION_3
released. Anyway this patch is worthwhile if only to silence the gcc
warning.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2010-08-15 14:28:20 +02:00
..
caiaq
misc
usx2y
card.c ALSA: usb-audio: unify UAC macros and struct names 2010-06-23 16:09:26 +02:00
card.h ALSA: usb-audio: parse clock topology of UAC2 devices 2010-05-31 18:16:59 +02:00
clock.c ALSA: usb-audio: silence a superfluous warning 2010-07-09 15:08:12 +02:00
clock.h ALSA: usb-audio: simplify control interface access 2010-06-23 16:10:23 +02:00
debug.h
endpoint.c ALSA: usb-audio: simplify control interface access 2010-06-23 16:10:23 +02:00
endpoint.h
format.c ALSA: sound/usb/format: silence uninitialized variable warnings 2010-08-15 14:28:20 +02:00
format.h
helper.c
helper.h ALSA: usb-audio: fix control messages for USB_RECIP_INTERFACE 2010-06-11 18:05:38 +02:00
Kconfig
Makefile ALSA: usb-audio: parse clock topology of UAC2 devices 2010-05-31 18:16:59 +02:00
midi.c ALSA: usb-midi: whitespace fixes 2010-06-23 16:09:38 +02:00
midi.h
mixer_maps.c ALSA: usb-audio: unify constants from specification 2010-05-31 18:17:22 +02:00
mixer_quirks.c
mixer_quirks.h
mixer.c ALSA: usb - Fix compile error with CONFIG_SND_DEBUG_VERBOSE=y 2010-06-24 08:07:28 +02:00
mixer.h ALSA: usb-audio: simplify control interface access 2010-06-23 16:10:23 +02:00
pcm.c ALSA: usb-audio: parse clock topology of UAC2 devices 2010-05-31 18:16:59 +02:00
pcm.h ALSA: usb-audio: simplify control interface access 2010-06-23 16:10:23 +02:00
proc.c
proc.h
quirks-table.h ALSA: usb - Correct audio problem for Hauppage HVR-850 and others rel. to urb data align 2010-08-02 09:12:59 +02:00
quirks.c ALSA: usb-audio: simplify control interface access 2010-06-23 16:10:23 +02:00
quirks.h
urb.c
urb.h
usbaudio.h ALSA: usb-audio: parse clock topology of UAC2 devices 2010-05-31 18:16:59 +02:00