summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2018-02-01 02:16:50 (GMT)
committerMinje Ahn <minje.ahn@samsung.com>2018-02-01 02:20:20 (GMT)
commit70e71ce6be7153129a543240b4c30aaee368c7b9 (patch)
treea1e58ac9bb1b8f4029f03300ca8b05044608b898 /src
parent05a439dfaff5a37ef343f52be5698fde6278c310 (diff)
downloadlibmedia-thumbnail-70e71ce6be7153129a543240b4c30aaee368c7b9.zip
libmedia-thumbnail-70e71ce6be7153129a543240b4c30aaee368c7b9.tar.gz
libmedia-thumbnail-70e71ce6be7153129a543240b4c30aaee368c7b9.tar.bz2
Change-Id: I6e0d47fe3cc6b5091afe5a886e64f800132597a0 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/include/util/media-thumb-util.h2
-rwxr-xr-xsrc/util/media-thumb-util.c14
2 files changed, 0 insertions, 16 deletions
diff --git a/src/include/util/media-thumb-util.h b/src/include/util/media-thumb-util.h
index 5b7b954..64515f2 100755
--- a/src/include/util/media-thumb-util.h
+++ b/src/include/util/media-thumb-util.h
@@ -40,7 +40,5 @@ int _media_thumb_get_file_type(const char *file_full_path);
char* _media_thumb_generate_hash_name(const char *file);
-int _media_thumb_remove_file(const char *path);
-
#endif /*_MEDIA_THUMB_UTIL_H_*/
diff --git a/src/util/media-thumb-util.c b/src/util/media-thumb-util.c
index b9140cb..cc03075 100755
--- a/src/util/media-thumb-util.c
+++ b/src/util/media-thumb-util.c
@@ -90,20 +90,6 @@ int _media_thumb_get_file_type(const char *file_full_path)
return THUMB_NONE_TYPE;
}
-int _media_thumb_remove_file(const char *path)
-{
- int result = -1;
-
- result = remove(path);
- if (result == 0) {
- thumb_dbg("success to remove file");
- return TRUE;
- } else {
- thumb_stderror("fail to remove file");
- return FALSE;
- }
-}
-
int _media_thumb_get_file_ext(const char *file_path, char *file_ext, int max_len)
{
int i = 0;