From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:43983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SsKlQ-0000iC-3K for qemu-devel@nongnu.org; Fri, 20 Jul 2012 17:29:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SsKlH-0000F3-N0 for qemu-devel@nongnu.org; Fri, 20 Jul 2012 17:29:32 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:33172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SsKlH-0000Ew-AX for qemu-devel@nongnu.org; Fri, 20 Jul 2012 17:29:23 -0400 Message-ID: <5009CDB1.2050204@weilnetz.de> Date: Fri, 20 Jul 2012 23:29:21 +0200 From: Stefan Weil MIME-Version: 1.0 References: <1342818861-2245-1-git-send-email-aliguori@us.ibm.com> In-Reply-To: <1342818861-2245-1-git-send-email-aliguori@us.ibm.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit 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 Am 20.07.2012 23:14, schrieb Anthony Liguori: > Handle is uninitialized which causes the configure check to fail. > > 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" > ;; > > See also http://patchwork.ozlabs.org/patch/171066/ Regards, Stefan W.