From ed3d3a39451c5d57af31e1be6a3f247c1fd414d1 Mon Sep 17 00:00:00 2001 From: Haejeong Kim Date: Wed, 27 Sep 2017 11:37:20 +0900 Subject: [PATCH] Apply tizen coding rule Change-Id: I637f107f4f23dd14e5d498f35d08e5bd62a27d45 --- src/common/media-svc-util.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/common/media-svc-util.c b/src/common/media-svc-util.c index e902a87..89f2d72 100755 --- a/src/common/media-svc-util.c +++ b/src/common/media-svc-util.c @@ -863,9 +863,8 @@ int _media_svc_remove_all_files_in_dir(const char *dir_path) snprintf(filename, sizeof(filename), "%s/%s", dir_path, name); if (g_file_test(filename, G_FILE_TEST_IS_REGULAR)) { - if (unlink(filename) != 0) { + if (unlink(filename) != 0) media_svc_stderror("failed to remove"); - } } } } else { -- 2.7.4