summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/resumption
diff options
context:
space:
mode:
authorBrad Pankow <brad@livio.io>2016-09-02 11:39:53 -0400
committerJacob Keeler <jacob@livio.io>2016-08-11 15:40:49 -0700
commit77e94b35329798f2a08cd31b7667c3d13150e2db (patch)
tree5e28d945db72fb5e2f826f77873a87ba7ec6b955 /src/components/application_manager/src/resumption
parentcafed909b10654e34d0908019f05a92166846ec2 (diff)
downloadsdl_core-77e94b35329798f2a08cd31b7667c3d13150e2db.tar.gz
Remove log-specific variables for ENABLE_LOG = 0
Diffstat (limited to 'src/components/application_manager/src/resumption')
-rw-r--r--src/components/application_manager/src/resumption/resume_ctrl.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/application_manager/src/resumption/resume_ctrl.cc b/src/components/application_manager/src/resumption/resume_ctrl.cc
index 5e24c5572c..16007ba11a 100644
--- a/src/components/application_manager/src/resumption/resume_ctrl.cc
+++ b/src/components/application_manager/src/resumption/resume_ctrl.cc
@@ -658,7 +658,6 @@ bool ResumeCtrl::CheckAppRestrictions(
LOG4CXX_AUTO_TRACE(logger_);
DCHECK_OR_RETURN(saved_app.keyExists(strings::hmi_level), false);
- const bool is_media_app = application->is_media_application();
const HMILevel::eType hmi_level =
static_cast<HMILevel::eType>(saved_app[strings::hmi_level].asInt());
const bool result = Compare<HMILevel::eType, EQ, ONE>(
@@ -666,8 +665,9 @@ bool ResumeCtrl::CheckAppRestrictions(
? true
: false;
LOG4CXX_DEBUG(logger_,
- "is_media_app " << is_media_app << "; hmi_level " << hmi_level
- << " result " << result);
+ "is_media_app " << application->is_media_application()
+ << "; hmi_level " << hmi_level << " result "
+ << result);
return result;
}