diff options
author | Dan Carpenter <[email protected]> | 2010-08-14 19:29:53 +0200 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2010-08-15 14:28:20 +0200 |
commit | 38d7b08f374b640b00d350ac2d12ffed5d723423 (patch) | |
tree | 3c68f297c254caa6d0a0a7634d964df724b6a52a /tools/perf/util/trace-event-scripting.c | |
parent | 31cbd97726207b483a1731562559fabd4e2efdd0 (diff) |
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 <[email protected]>
Acked-by: Daniel Mack <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions