summaryrefslogtreecommitdiff
path: root/src/util/media-thumb-db.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/media-thumb-db.c')
-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");