summaryrefslogtreecommitdiff
path: root/src/util/media-thumb-util.c
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2015-06-08 12:43:27 +0900
committerMinje Ahn <minje.ahn@samsung.com>2015-06-08 15:22:41 +0900
commit9c534f334a71a5250c9411cc53c83cd72e3b7e74 (patch)
treecca701a14ae87449dab7de9e8ccbec23c6312554 /src/util/media-thumb-util.c
parentbe3906afcd5d61009fa339b320305b04b5e89c64 (diff)
downloadlibmedia-thumbnail-9c534f334a71a5250c9411cc53c83cd72e3b7e74.tar.gz
libmedia-thumbnail-9c534f334a71a5250c9411cc53c83cd72e3b7e74.tar.bz2
libmedia-thumbnail-9c534f334a71a5250c9411cc53c83cd72e3b7e74.zip
Remove unused code.
Change-Id: I9c8d472cff513d88c90b9558201d20f2fbad05c2 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'src/util/media-thumb-util.c')
-rwxr-xr-xsrc/util/media-thumb-util.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/util/media-thumb-util.c b/src/util/media-thumb-util.c
index 2f0fef0..ed9c0c7 100755
--- a/src/util/media-thumb-util.c
+++ b/src/util/media-thumb-util.c
@@ -169,14 +169,9 @@ _media_thumb_get_file_type(const char *file_full_path)
int _media_thumb_get_store_type_by_path(const char *full_path)
{
if (full_path != NULL) {
- if (strncmp
- (full_path, THUMB_PATH_PHONE,
- strlen(THUMB_PATH_PHONE)) == 0) {
+ if (strncmp(full_path, THUMB_PATH_PHONE, strlen(THUMB_PATH_PHONE)) == 0) {
return THUMB_PHONE;
- } else
- if (strncmp
- (full_path, THUMB_PATH_MMC,
- strlen(THUMB_PATH_MMC)) == 0) {
+ } else if (strncmp(full_path, THUMB_PATH_MMC, strlen(THUMB_PATH_MMC)) == 0) {
return THUMB_MMC;
}
}
@@ -292,8 +287,7 @@ static char* _media_thumb_phone_get_path(uid_t uid)
return result_psswd;
}
-int
-_media_thumb_get_hash_name(const char *file_full_path,
+int _media_thumb_get_hash_name(const char *file_full_path,
char *thumb_hash_path, size_t max_thumb_path, uid_t uid)
{
char *hash_name;