From 5b465316dc7b468f0e1edcfc845ece329f2d59d6 Mon Sep 17 00:00:00 2001 From: Minje Ahn Date: Fri, 7 Jul 2017 13:14:02 +0900 Subject: Remove checker for DB update No more need this parameter Change-Id: I365aa9a6c6b63e51d5ea64bcb3fac4ea36ab625d Signed-off-by: Minje Ahn --- src/util/media-thumb-db.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/util/media-thumb-db.c') 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"); -- cgit v1.2.3