From patchwork Wed Apr 25 16:19:41 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: fix paaudio.c warnings From: Gerd Hoffmann X-Patchwork-Id: 155032 Message-Id: <1335370781-5318-1-git-send-email-kraxel@redhat.com> To: qemu-devel@nongnu.org Cc: marcandre.lureau@gmail.com, Gerd Hoffmann Date: Wed, 25 Apr 2012 18:19:41 +0200 Signed-off-by: Gerd Hoffmann --- audio/paaudio.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/audio/paaudio.c b/audio/paaudio.c index e6708d0..aa15f16 100644 --- a/audio/paaudio.c +++ b/audio/paaudio.c @@ -505,8 +505,7 @@ fail: pa_stream_unref (stream); } - qpa_logerr (pa_context_errno (g->context), - "stream_new() failed\n"); + *rerror = pa_context_errno (g->context); return NULL; }