From 3a81025f2e8e8130f43fb71182c459f33f63b350 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Mon, 9 May 2011 15:26:07 +0200 Subject: [PATCH] bluez: Fix garbage return value in gst_avdtp_sink_audioservice_recv --- sys/bluez/gstavdtpsink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/bluez/gstavdtpsink.c b/sys/bluez/gstavdtpsink.c index 88c0c49..55c15fc 100644 --- a/sys/bluez/gstavdtpsink.c +++ b/sys/bluez/gstavdtpsink.c @@ -1839,7 +1839,7 @@ gst_avdtp_sink_audioservice_recv (GstAvdtpSink * self, ssize_t bytes_read; const char *type, *name; uint16_t length; - int fd, err; + int fd, err = 0; length = inmsg->length ? inmsg->length : BT_SUGGESTED_BUFFER_SIZE; -- 2.7.4