summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2017-07-07 04:14:02 (GMT)
committerMinje Ahn <minje.ahn@samsung.com>2017-07-07 04:14:02 (GMT)
commit5b465316dc7b468f0e1edcfc845ece329f2d59d6 (patch)
tree1e8505e3eb58e7515e8fc64fbe19cfe4cff459e5 /src/util
parent17668dc96167be8ebcd817aeb00dc13449470ac0 (diff)
downloadlibmedia-thumbnail-5b465316dc7b468f0e1edcfc845ece329f2d59d6.zip
libmedia-thumbnail-5b465316dc7b468f0e1edcfc845ece329f2d59d6.tar.gz
libmedia-thumbnail-5b465316dc7b468f0e1edcfc845ece329f2d59d6.tar.bz2
Remove checker for DB updaterefs/changes/64/137664/1
No more need this parameter Change-Id: I365aa9a6c6b63e51d5ea64bcb3fac4ea36ab625d Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'src/util')
-rwxr-xr-xsrc/util/media-thumb-db.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/util/media-thumb-db.c b/src/util/media-thumb-db.c
index 33d00ca..3332a18 100755
--- a/src/util/media-thumb-db.c
+++ b/src/util/media-thumb-db.c
@@ -163,7 +163,6 @@ int _media_thumb_db_disconnect()
int _media_thumb_get_thumb_from_db_with_size(const char *origin_path,
char *thumb_path,
int max_length,
- int *need_update_db,
int *width,
int *height)
{
@@ -179,7 +178,6 @@ int _media_thumb_get_thumb_from_db_with_size(const char *origin_path,
if (strlen(thumb_path) == 0) {
thumb_warn("thumb path doesn't exist in DB");
- *need_update_db = 1;
return MS_MEDIA_ERR_INTERNAL;
}
@@ -187,7 +185,6 @@ int _media_thumb_get_thumb_from_db_with_size(const char *origin_path,
if (!g_file_test(thumb_path, G_FILE_TEST_EXISTS)) {
thumb_warn("thumb path doesn't exist in file system");
- *need_update_db = 1;
return MS_MEDIA_ERR_INTERNAL;
} else {
thumb_dbg("This thumb path already exist");