Apply tizen coding rule 20/152720/2 accepted/tizen/unified/20170929.081647 submit/tizen/20170928.090751
authorHaejeong Kim <backto.kim@samsung.com>
Wed, 27 Sep 2017 02:37:20 +0000 (11:37 +0900)
committerhj kim <backto.kim@samsung.com>
Wed, 27 Sep 2017 02:46:16 +0000 (02:46 +0000)
Change-Id: I637f107f4f23dd14e5d498f35d08e5bd62a27d45

src/common/media-svc-util.c

index e902a87..89f2d72 100755 (executable)
@@ -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 {