[Application][Messaging][SystemInfo] fix issue from cppTest 98/88698/1
authorLukasz Bardeli <l.bardeli@samsung.com>
Tue, 20 Sep 2016 08:50:24 +0000 (10:50 +0200)
committerLukasz Bardeli <l.bardeli@samsung.com>
Tue, 20 Sep 2016 08:50:24 +0000 (10:50 +0200)
[Verification] Code compiles without error. Passrate 100%

Change-Id: I3ebe8e6876d4e7bb06d844f86e490c189a59bb36

src/application/application_manager.cc
src/messaging/message.cc
src/systeminfo/systeminfo_manager.cc

index 721f7c3380fb1a166b5f6cf91aa48c406485ec34..08ab616cf18a2d065955cb222a18f4ce6c36aee2 100755 (executable)
@@ -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;
index 3f77486d1cd3614b381722b7bb45fba64381a5a8..bdd7873f80a1da3e387ed4322fe44e634050d98d 100755 (executable)
@@ -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);
index e9272feefb301c742894d114f93465d5c7cc277d..849a0dc944feeeaea487c65743f51a2538701955 100644 (file)
@@ -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_;