Skip to content
  1. Aug 15, 2010
    • Dan Carpenter's avatar
      ALSA: sound/usb/format: silence uninitialized variable warnings · 38d7b08f
      Dan Carpenter authored
      
      
      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: default avatarDan Carpenter <error27@gmail.com>
      Acked-by: default avatarDaniel Mack <daniel@caiaq.de>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      38d7b08f
  2. Aug 12, 2010
  3. Aug 11, 2010
  4. Aug 10, 2010
  5. Aug 09, 2010
  6. Aug 06, 2010
  7. Aug 05, 2010
  8. Aug 04, 2010
  9. Aug 03, 2010