From: Takashi Iwai <tiwai@suse.de>
To: "Adrian McMenamin" <lkmladrian@gmail.com>
Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org,
linuxsh-dev@lists.sourceforge.net
Subject: Re: [alsa-devel] [PATCH] Dreamcast AICA sound - Get rid of annoying compiler warning
Date: Mon, 29 Oct 2007 09:06:24 +0100 [thread overview]
Message-ID: <s5hsl3uny4f.wl%tiwai@suse.de> (raw)
In-Reply-To: <8b67d60710280727k651ddea7sebaf3f4b995241eb@mail.gmail.com>
At Sun, 28 Oct 2007 14:27:04 +0000,
Adrian McMenamin wrote:
>
> This patch supresses an annoying compiler warning that the variable
> err may be used uninitialised.
>
> Signed-off by: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Applied to ALSA tree now.
Thanks,
Takashi
>
>
> diff --git a/sound/sh/aica.c b/sound/sh/aica.c
> index 88dc840..8861d2f 100644
> --- a/sound/sh/aica.c
> +++ b/sound/sh/aica.c
> @@ -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);
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
prev parent reply other threads:[~2007-10-29 10:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-28 14:27 Adrian McMenamin
2007-10-29 8:06 ` Takashi Iwai [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hsl3uny4f.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxsh-dev@lists.sourceforge.net \
--cc=lkmladrian@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®