From: malc <av1474@comtv.ru>
To: Paul Brook <paul@codesourcery.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Fix ALSA configure check
Date: Tue, 31 Jul 2012 13:58:29 +0400 (MSK) [thread overview]
Message-ID: <alpine.LNX.2.00.1207311358250.1615@linmac> (raw)
In-Reply-To: <1343728415-14714-1-git-send-email-paul@codesourcery.com>
On Tue, 31 Jul 2012, Paul Brook wrote:
> Recent gcc notice that the ASLA configure check uses an uninitialized
> variable, causing spurious failures. Adjust the testcase to avoid this.
http://lists.nongnu.org/archive/html/qemu-devel/2012-07/msg02704.html
>
> Signed-off-by: Paul Brook <paul@codesourcery.com>
> ---
> configure | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure b/configure
> index c65b5f6..9152798 100755
> --- a/configure
> +++ b/configure
> @@ -1890,7 +1890,7 @@ for drv in $audio_drv_list; do
> case $drv in
> alsa)
> audio_drv_probe $drv alsa/asoundlib.h -lasound \
> - "snd_pcm_t **handle; return snd_pcm_close(*handle);"
> + "snd_pcm_t *handle = NULL; return snd_pcm_close(handle);"
> libs_softmmu="-lasound $libs_softmmu"
> ;;
>
>
--
mailto:av1474@comtv.ru
prev parent reply other threads:[~2012-07-31 9:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-31 9:53 [Qemu-devel] [PATCH] Fix ALSA configure check Paul Brook
2012-07-31 9:58 ` malc [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=alpine.LNX.2.00.1207311358250.1615@linmac \
--to=av1474@comtv.ru \
--cc=paul@codesourcery.com \
--cc=qemu-devel@nongnu.org \
/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;
as well as URLs for NNTP newsgroup(s).