Received: from eggs.gnu.org ([208.118.235.92]:38187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sw9E8-00024P-VI for qemu-devel@nongnu.org; Tue, 31 Jul 2012 05:58:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sw9E1-00039y-8c for qemu-devel@nongnu.org; Tue, 31 Jul 2012 05:58:56 -0400 Received: from fe01x03-cgp.akado.ru ([77.232.31.164]:54401 helo=akado.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sw9E1-00039Y-0t for qemu-devel@nongnu.org; Tue, 31 Jul 2012 05:58:49 -0400 Date: Tue, 31 Jul 2012 13:58:29 +0400 (MSK) From: malc In-Reply-To: <1343728415-14714-1-git-send-email-paul@codesourcery.com> Message-ID: References: <1343728415-14714-1-git-send-email-paul@codesourcery.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [Qemu-devel] [PATCH] Fix ALSA configure check List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: qemu-devel@nongnu.org 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 > --- > 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