From d6ee6f16e6e7a6b63f34265d86a60ce50d63a2c9 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Mon, 9 May 2011 15:26:07 +0200 Subject: [PATCH] Fix garbage return value in gst_avdtp_sink_audioservice_recv --- audio/gstavdtpsink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/gstavdtpsink.c b/audio/gstavdtpsink.c index ce1365a1a..cab366bfe 100644 --- a/audio/gstavdtpsink.c +++ b/audio/gstavdtpsink.c @@ -1868,7 +1868,7 @@ static int 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.47.3