Received: from eggs.gnu.org ([208.118.235.92]:33885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SsKpG-0002H7-6u for qemu-devel@nongnu.org; Fri, 20 Jul 2012 17:33:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SsKov-0001SR-Vr for qemu-devel@nongnu.org; Fri, 20 Jul 2012 17:33:30 -0400 Received: from fe02x03-cgp.akado.ru ([77.232.31.165]:64515 helo=akado.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SsKov-0001S3-Oa for qemu-devel@nongnu.org; Fri, 20 Jul 2012 17:33:09 -0400 Date: Sat, 21 Jul 2012 01:32:59 +0400 (MSK) From: malc In-Reply-To: <1342818861-2245-1-git-send-email-aliguori@us.ibm.com> Message-ID: References: <1342818861-2245-1-git-send-email-aliguori@us.ibm.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [Qemu-devel] [PATCH] alsa: fix configure detection of alsa List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org On Fri, 20 Jul 2012, Anthony Liguori wrote: > Handle is uninitialized which causes the configure check to fail. > http://patchwork.ozlabs.org/patch/171688/ Has an advantage of not expecting alsa/asoundlib.h including stddef.h > Cc: malc > Signed-off-by: Anthony Liguori > --- > configure | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/configure b/configure > index cef0a71..8335117 100755 > --- a/configure > +++ b/configure > @@ -1888,7 +1888,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