summaryrefslogtreecommitdiff
path: root/src/util/media-thumb-debug.c
diff options
context:
space:
mode:
authorHaejeong Kim <backto.kim@samsung.com>2017-09-06 11:13:29 +0900
committerHaejeong Kim <backto.kim@samsung.com>2017-09-06 11:13:29 +0900
commit2ac89f4e154d45045a30fdfb45c47288fd744400 (patch)
tree5351a41a46fa4bf07bf0fbf48a031ec3aef07220 /src/util/media-thumb-debug.c
parent22ab0063a95c733ecf82ed9545651c8fc92c8812 (diff)
downloadlibmedia-thumbnail-2ac89f4e154d45045a30fdfb45c47288fd744400.tar.gz
libmedia-thumbnail-2ac89f4e154d45045a30fdfb45c47288fd744400.tar.bz2
libmedia-thumbnail-2ac89f4e154d45045a30fdfb45c47288fd744400.zip
Remove unused code of _USE_LOG_FILE_
Change-Id: I8cf596093d4a4484e93370b5cbb23adecd640761
Diffstat (limited to 'src/util/media-thumb-debug.c')
-rwxr-xr-xsrc/util/media-thumb-debug.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/util/media-thumb-debug.c b/src/util/media-thumb-debug.c
index 33d33af..6e201c0 100755
--- a/src/util/media-thumb-debug.c
+++ b/src/util/media-thumb-debug.c
@@ -28,39 +28,6 @@
#ifdef _PERFORMANCE_CHECK_
static long g_time_usec = 0L;
-
-#ifdef _USE_LOG_FILE_
-static FILE *g_log_fp = NULL;
-static char _g_file_path[1024] = "\0";
-
-FILE *get_fp()
-{
- return g_log_fp;
-}
-
-void thumb_init_file_debug()
-{
- if (g_log_fp == NULL) {
- snprintf(_g_file_path, sizeof(_g_file_path), "/tmp/%s",
- "media-thumb.log");
- if (access(_g_file_path, R_OK == 0)) {
- remove(_g_file_path);
- }
-
- g_log_fp = fopen(_g_file_path, "a");
- }
-}
-
-void thumb_close_file_debug()
-{
- if (g_log_fp != NULL) {
- fclose(g_log_fp);
- g_log_fp = NULL;
- }
-}
-
-#endif
-
long thumb_get_debug_time(void)
{
#ifdef _PERFORMANCE_CHECK_