summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorAlex <AKutsan@Luxoft.com>2016-10-12 18:02:10 +0300
committerAlex <AKutsan@Luxoft.com>2016-10-12 20:57:59 +0300
commitd9c8edfea04b1f868c67135741e0268612a1ffe0 (patch)
tree2d1171d311f5515714f404d6a5ff2006018e4429 /src/components
parent781f4bc5e79ed6b264e77c9e7025d3be97d3cff0 (diff)
downloadsdl_core-d9c8edfea04b1f868c67135741e0268612a1ffe0.tar.gz
Remove reduntant if to provide PrepareResultCodeForResponse function resolve result code
relate issue : APPLINK-28797
Diffstat (limited to 'src/components')
-rw-r--r--src/components/application_manager/src/commands/mobile/delete_command_request.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/components/application_manager/src/commands/mobile/delete_command_request.cc b/src/components/application_manager/src/commands/mobile/delete_command_request.cc
index f6146e080e..cfcd4b743e 100644
--- a/src/components/application_manager/src/commands/mobile/delete_command_request.cc
+++ b/src/components/application_manager/src/commands/mobile/delete_command_request.cc
@@ -126,11 +126,6 @@ bool DeleteCommandRequest::PrepareResponseParameters(
Compare<hmi_apis::Common_Result::eType, EQ, ONE>(
hmi_apis::Common_Result::WARNINGS, ui_result_, vr_result_);
info = MergeInfos(ui_info_, vr_info_);
- if (!result && hmi_apis::Common_Result::REJECTED == ui_result_ &&
- (!vr_delete_info.is_invalid_enum)) {
- result_code = MessageHelper::HMIToMobileResult(vr_result_);
- return result;
- }
if (is_vr_or_ui_warning && !ui_delete_info.is_unsupported_resource &&
!vr_delete_info.is_unsupported_resource) {
LOG4CXX_DEBUG(logger_, "VR or UI result is warning");