]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/sh/aica.c
[ALSA] Dreamcast AICA sound - Get rid of annoying compiler warning
[linux-2.6-omap-h63xx.git] / sound / sh / aica.c
index 88dc840152ce9369f57956c2d43cde2ac0e936ab..8861d2f7796ee05776c75301cff5d9d1ec4875e1 100644 (file)
@@ -237,6 +237,7 @@ static int aica_dma_transfer(int channels, int buffer_size,
        struct snd_card_aica *dreamcastcard;
        struct snd_pcm_runtime *runtime;
        unsigned long flags;
+       err = 0;
        dreamcastcard = substream->pcm->private_data;
        period_offset = dreamcastcard->clicks;
        period_offset %= (AICA_PERIOD_NUMBER / channels);