From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:39156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SsKWs-0005aN-DF for qemu-devel@nongnu.org; Fri, 20 Jul 2012 17:14:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SsKWq-0004vn-H4 for qemu-devel@nongnu.org; Fri, 20 Jul 2012 17:14:30 -0400 Received: from e1.ny.us.ibm.com ([32.97.182.141]:41079) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SsKWq-0004vj-DL for qemu-devel@nongnu.org; Fri, 20 Jul 2012 17:14:28 -0400 Received: from /spool/local by e1.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 20 Jul 2012 17:14:27 -0400 Received: from d01relay01.pok.ibm.com (d01relay01.pok.ibm.com [9.56.227.233]) by d01dlp01.pok.ibm.com (Postfix) with ESMTP id CB00738C8039 for ; Fri, 20 Jul 2012 17:14:23 -0400 (EDT) Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay01.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q6KLENwB383126 for ; Fri, 20 Jul 2012 17:14:23 -0400 Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q6L2jGWS017544 for ; Fri, 20 Jul 2012 22:45:16 -0400 From: Anthony Liguori Date: Fri, 20 Jul 2012 16:14:21 -0500 Message-Id: <1342818861-2245-1-git-send-email-aliguori@us.ibm.com> Subject: [Qemu-devel] [PATCH] alsa: fix configure detection of alsa List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: 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" ;; -- 1.7.5.4