OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bb8aa5
)
avctp: Fix dead assignment in control_response
author
Szymon Janc
<szymon.janc@tieto.com>
Tue, 13 Nov 2012 12:52:38 +0000
(13:52 +0100)
committer
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Tue, 13 Nov 2012 13:09:46 +0000
(15:09 +0200)
Value stored to req is never read before writing it again.
audio/avctp.c
patch
|
blob
|
history
diff --git
a/audio/avctp.c
b/audio/avctp.c
index
6ba25e4
..
29756f6
100644
(file)
--- 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) {