summaryrefslogtreecommitdiff
path: root/src/components/application_manager/rpc_plugins
diff options
context:
space:
mode:
authorIra Lytvynenko (GitHub) <ILytvynenko@luxoft.com>2018-05-30 11:49:27 +0300
committerIra Lytvynenko (GitHub) <ILytvynenko@luxoft.com>2018-06-26 13:47:20 +0300
commit0283a8516e66d72f34b4435db63ab92c6b3282a2 (patch)
tree8b00300c89a0e27f9c2fd4c218ea7ce94ecfca08 /src/components/application_manager/rpc_plugins
parent1781b398fafb0f4cff735475d3c016d3d1e1540c (diff)
downloadsdl_core-0283a8516e66d72f34b4435db63ab92c6b3282a2.tar.gz
Fix comments after reviewfeature/rc_seat
Diffstat (limited to 'src/components/application_manager/rpc_plugins')
-rw-r--r--src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/get_interior_vehicle_data_request.cc1
-rw-r--r--src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/set_interior_vehicle_data_request.cc1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/get_interior_vehicle_data_request.cc b/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/get_interior_vehicle_data_request.cc
index aabc21ad31..06c44d2ff3 100644
--- a/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/get_interior_vehicle_data_request.cc
+++ b/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/get_interior_vehicle_data_request.cc
@@ -72,6 +72,7 @@ bool CheckIfModuleTypeExistInCapabilities(
if (param.first == module_type) {
if (rc_capabilities.keyExists(param.second)) {
is_module_type_valid = true;
+ break;
}
}
}
diff --git a/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/set_interior_vehicle_data_request.cc b/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/set_interior_vehicle_data_request.cc
index c3c3dde8a7..c275246cb9 100644
--- a/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/set_interior_vehicle_data_request.cc
+++ b/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/set_interior_vehicle_data_request.cc
@@ -202,6 +202,7 @@ bool isModuleTypeAndDataMatch(const std::string& module_type,
for (const auto& data : data_mapping) {
if (data.first == module_type) {
module_type_and_data_match = module_data.keyExists(data.second);
+ break;
}
}
return module_type_and_data_match;