int _media_content_replace_path(const char *path, char *replace_path)
{
- int ret = MEDIA_CONTENT_ERROR_NONE;
-
#ifdef _USE_TV_PROFILE
snprintf(replace_path, MAX_PATH_LEN, "%s", path);
#else
+
+ int ret = MEDIA_CONTENT_ERROR_NONE;
+
if (!STRING_VALID(g_old_path)) {
ret = storage_get_root_directory(STORAGE_TYPE_INTERNAL, &g_old_path);
if (ret != STORAGE_ERROR_NONE) {
int _media_content_rollback_path(const char *path, char *replace_path)
{
- int ret = MEDIA_CONTENT_ERROR_NONE;
-
#ifdef _USE_TV_PROFILE
snprintf(replace_path, MAX_PATH_LEN, "%s", path);
#else
+ int ret = MEDIA_CONTENT_ERROR_NONE;
+
if (!STRING_VALID(g_old_path)) {
ret = storage_get_root_directory(STORAGE_TYPE_INTERNAL, &g_old_path);
if (ret != STORAGE_ERROR_NONE) {