]> err.no Git - linux-2.6/commitdiff
[ALSA] trident - Shut up compile warnings
authorTakashi Iwai <tiwai@suse.de>
Mon, 27 Jun 2005 13:07:33 +0000 (15:07 +0200)
committerJaroslav Kysela <perex@suse.cz>
Thu, 28 Jul 2005 10:09:35 +0000 (12:09 +0200)
Trident driver
Shut up compile warnings about uninitialized variables.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/trident/trident_main.c

index a09b0fb49e81faf137beee3344708d011cae0758..b01c91bb5f6a10c5f9b6b7ef340b0415dff9f77a 100644 (file)
@@ -472,6 +472,7 @@ void snd_trident_write_voice_regs(trident_t * trident,
                break;
        default:
                snd_BUG();
+               return;
        }
 
        outb(voice->number, TRID_REG(trident, T4D_LFO_GC_CIR));