From b70b59dfa700b4333284ab30683204d9022c96d1 Mon Sep 17 00:00:00 2001 From: Minje Ahn Date: Thu, 20 Aug 2020 09:22:10 +0900 Subject: [PATCH] Remove unnecessary logs Change-Id: I0acb3e552b2bb0e587025633b6b3c95fdbcb2956 Signed-off-by: Minje Ahn --- src/common/media-common-db-svc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/media-common-db-svc.c b/src/common/media-common-db-svc.c index 598ee4f..84522d5 100644 --- a/src/common/media-common-db-svc.c +++ b/src/common/media-common-db-svc.c @@ -230,7 +230,6 @@ static int __ms_check_item_exist(sqlite3 *handle, const char *storage_id, const } if (sqlite3_step(sql_stmt) != SQLITE_ROW) { - MS_DBG_ERR("[No-Error] Item not found. end of row [%s]", sqlite3_errmsg(handle)); ret = MS_MEDIA_ERR_DB_NO_RECORD; } else { modified_time = (int)sqlite3_column_int(sql_stmt, 0); @@ -383,7 +382,8 @@ int ms_get_and_extract_media(sqlite3 *handle, const char *storage_id, int scan_t int ret = MS_MEDIA_ERR_NONE; ret = ((GET_AND_EXTRACT_MEDIA)func_array[eGET_AND_EXTRACT_MEDIA])(handle, storage_id, scan_type, path); /*dlopen*/ - MS_DBG_RETVM_IF(ret != MS_MEDIA_ERR_NONE, ret, "GET_EXTRACT_LIST failed [%d]", ret); + if (ret != MS_MEDIA_ERR_NONE && ret != MS_MEDIA_ERR_DB_NO_RECORD) + MS_DBG_ERR("GET_AND_EXTRACT_MEDIA failed [%d]", ret); return ret; } -- 2.7.4