diff options
author | jk.pu <jk.pu@samsung.com> | 2016-12-06 16:01:24 +0900 |
---|---|---|
committer | jk.pu <jk.pu@samsung.com> | 2016-12-06 16:02:14 +0900 |
commit | 7b2903ac53550acf469dd733d2e8c772fa65cf6b (patch) | |
tree | b0876fec8cdaeadbb4c6c14ac52728155a85ce4f | |
parent | dbdfea4552571ab586883fb5645dc16b624015c7 (diff) | |
download | webapi-plugins-ref/for/tizen_3.0.tar.gz webapi-plugins-ref/for/tizen_3.0.tar.bz2 webapi-plugins-ref/for/tizen_3.0.zip |
[messaging] fix savace 2.2 defect. remove unreachable code.ref/for/tizen_3.0
Change-Id: I6face2a23275b1e9798a0d07b97905b660258f16
Signed-off-by: jk.pu <jk.pu@samsung.com>
-rwxr-xr-x | src/messaging/messaging_database_manager.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/messaging/messaging_database_manager.cc b/src/messaging/messaging_database_manager.cc index 55f7da2b..793ea10d 100755 --- a/src/messaging/messaging_database_manager.cc +++ b/src/messaging/messaging_database_manager.cc @@ -687,13 +687,7 @@ PlatformResult MessagingDatabaseManager::addFilters(AbstractFilterPtr filter, // Service type query if (MessageType::SMS == msg_type || MessageType::MMS == msg_type) { - if (UNDEFINED != msg_type) { sql_query << attribute_map["type"].sql_name << " = " << msg_type << " AND "; - } else { - return LogAndCreateResult( - ErrorCode::UNKNOWN_ERR, "The service type is incorrect.", - ("The service type is incorrect - %d", msg_type)); - } } if(filter) { |