From c6db4fa7518364483c609355dfa72364ba18ab58 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Tue, 13 Nov 2012 13:52:38 +0100 Subject: [PATCH] avctp: Fix dead assignment in control_response Value stored to req is never read before writing it again. --- audio/avctp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/avctp.c b/audio/avctp.c index 6ba25e4e0..29756f649 100644 --- a/audio/avctp.c +++ b/audio/avctp.c @@ -577,7 +577,7 @@ static void control_response(struct avctp_channel *control, size_t operand_count) { struct avctp_pending_req *p = control->p; - struct avctp_control_req *req = p->data; + struct avctp_control_req *req; GSList *l; if (p && p->transaction == avctp->transaction) { -- 2.47.3