summaryrefslogtreecommitdiff
path: root/src/profile.c
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2012-12-04 11:15:24 +0100
committerJohan Hedberg <johan.hedberg@intel.com>2012-12-04 13:25:02 +0200
commit80e55f987ebbddd64a7b73e505231b94e14e7f9d (patch)
tree4463427f004815362c66e8edc54043bb01d7c3d3 /src/profile.c
parent02ad63d496de69117e30cd1bfa7d9c2d97373dd7 (diff)
downloadbluez-80e55f987ebbddd64a7b73e505231b94e14e7f9d.tar.gz
profile: Remove not local variable needed in ext_connect
src is not used anymore.
Diffstat (limited to 'src/profile.c')
-rw-r--r--src/profile.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/profile.c b/src/profile.c
index b98db368b..a085ab219 100644
--- a/src/profile.c
+++ b/src/profile.c
@@ -763,11 +763,9 @@ static void ext_connect(GIOChannel *io, GError *err, gpointer user_data)
struct ext_io *conn = user_data;
struct ext_profile *ext = conn->ext;
GError *io_err = NULL;
- bdaddr_t src;
char addr[18];
if (!bt_io_get(io, &io_err,
- BT_IO_OPT_SOURCE_BDADDR, &src,
BT_IO_OPT_DEST, addr,
BT_IO_OPT_INVALID)) {
error("Unable to get connect data for %s: %s", ext->name,