summaryrefslogtreecommitdiff
path: root/src/components/media_manager/src
diff options
context:
space:
mode:
authorjgrix <jgrix@users.noreply.github.com>2016-10-10 14:43:10 -0400
committerJacob Keeler <jacob.keeler@livioradio.com>2016-10-10 14:43:10 -0400
commit721aff8d659a95c3bb53a6d9761b8d84fd6036f2 (patch)
treefd1a3bb816ff5de30608c90cdf17b0efbf0bac47 /src/components/media_manager/src
parent59e4404f5e7aa87ac871ff8bee7f7406232fa05d (diff)
downloadsdl_core-721aff8d659a95c3bb53a6d9761b8d84fd6036f2.tar.gz
Removed an unused variable that was causing the build to fail. Also f… (#880)
* Removed an unused variable that was causing the build to fail. Also fixed the connectionhandler class not being found in a2dp_source_player.
Diffstat (limited to 'src/components/media_manager/src')
-rw-r--r--src/components/media_manager/src/audio/a2dp_source_player_adapter.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/components/media_manager/src/audio/a2dp_source_player_adapter.cc b/src/components/media_manager/src/audio/a2dp_source_player_adapter.cc
index e5cd41c8c3..5e9d6ab0ba 100644
--- a/src/components/media_manager/src/audio/a2dp_source_player_adapter.cc
+++ b/src/components/media_manager/src/audio/a2dp_source_player_adapter.cc
@@ -91,9 +91,6 @@ void A2DPSourcePlayerAdapter::StartActivity(int32_t application_key) {
if (application_key != current_application_) {
current_application_ = application_key;
- const protocol_handler::SessionObserver&
- session_observer =->connection_handler().get_session_observer();
-
uint32_t device_id = 0;
session_observer_.GetDataOnSessionKey(application_key, 0, NULL, &device_id);
std::string mac_adddress;