summaryrefslogtreecommitdiff
path: root/android/a2dp.c
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2014-04-23 10:43:28 +0200
committerSzymon Janc <szymon.janc@tieto.com>2014-04-23 14:17:48 +0200
commita897bb14bd01f86a566e761bd51f5196012cdc43 (patch)
tree52f28c8bad4ca01bc6cf050d27cadfb331980de5 /android/a2dp.c
parentff17170acd6ce1dbda77a2e32d0b0c81e05d4228 (diff)
downloadbluez-a897bb14bd01f86a566e761bd51f5196012cdc43.tar.gz
android/a2dp: Remove unused local variable
Diffstat (limited to 'android/a2dp.c')
-rw-r--r--android/a2dp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/android/a2dp.c b/android/a2dp.c
index 8fb84a334..452fdab9f 100644
--- a/android/a2dp.c
+++ b/android/a2dp.c
@@ -709,7 +709,7 @@ static void transport_connect_cb(GIOChannel *chan, GError *err,
static void connect_cb(GIOChannel *chan, GError *err, gpointer user_data)
{
struct a2dp_device *dev;
- bdaddr_t src, dst;
+ bdaddr_t dst;
char address[18];
GError *gerr = NULL;
GSList *l;
@@ -720,7 +720,6 @@ static void connect_cb(GIOChannel *chan, GError *err, gpointer user_data)
}
bt_io_get(chan, &gerr,
- BT_IO_OPT_SOURCE_BDADDR, &src,
BT_IO_OPT_DEST_BDADDR, &dst,
BT_IO_OPT_INVALID);
if (gerr) {