From: Lukasz Bardeli Date: Tue, 20 Sep 2016 08:50:24 +0000 (+0200) Subject: [Application][Messaging][SystemInfo] fix issue from cppTest X-Git-Tag: submit/tizen/20160920.235405~4^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=acf8ca6edfb5bfbae3ee84566b262cca213d6e98;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git [Application][Messaging][SystemInfo] fix issue from cppTest [Verification] Code compiles without error. Passrate 100% Change-Id: I3ebe8e6876d4e7bb06d844f86e490c189a59bb36 --- diff --git a/src/application/application_manager.cc b/src/application/application_manager.cc index 721f7c33..08ab616c 100755 --- a/src/application/application_manager.cc +++ b/src/application/application_manager.cc @@ -710,8 +710,6 @@ int app_control_foreach_app_matched_internal(app_control_h app_control, app_cont default: return APP_CONTROL_ERROR_LAUNCH_FAILED; } - }else{ - return APP_CONTROL_ERROR_NONE; } return APP_CONTROL_ERROR_NONE; diff --git a/src/messaging/message.cc b/src/messaging/message.cc index 3f77486d..bdd7873f 100755 --- a/src/messaging/message.cc +++ b/src/messaging/message.cc @@ -1163,7 +1163,6 @@ PlatformResult Message::getSMSRecipientsFromStruct(msg_struct_t &msg, return LogAndCreateResult( ErrorCode::UNKNOWN_ERR, "failed to add recipients", ("msg_get_list_handle error: %d (%s)", ntv_ret, get_error_message(ntv_ret))); - LoggerE("failed to get recipients"); } *result_address = address; return PlatformResult(ErrorCode::NO_ERROR); diff --git a/src/systeminfo/systeminfo_manager.cc b/src/systeminfo/systeminfo_manager.cc index e9272fee..849a0dc9 100644 --- a/src/systeminfo/systeminfo_manager.cc +++ b/src/systeminfo/systeminfo_manager.cc @@ -415,7 +415,6 @@ class SysteminfoManager::TapiManager { } } - const int kTapiMaxHandle = 2; const char* kNotifications[3] = { TAPI_PROP_NETWORK_CELLID, TAPI_PROP_NETWORK_LAC, TAPI_PROP_NETWORK_ROAMING_STATUS }; bool initialized_;