file_mgr: Remove redundant code.

This commit is contained in:
Jaehyun Cho 2016-08-23 23:39:58 +09:00
parent 5ae577f5ea
commit b6d9930e0a
1 changed files with 1 additions and 3 deletions

View File

@ -333,9 +333,7 @@ file_mgr_main_file_set(const char *path)
const char *prev_path = enventor_item_file_get(main_it);
if (prev_path)
{
const char *file_path = NULL;
file_path = enventor_item_file_get(main_it);
Enventor_Item *it2 = file_mgr_sub_file_add(file_path, EINA_FALSE);
Enventor_Item *it2 = file_mgr_sub_file_add(prev_path, EINA_FALSE);
file_mgr_file_del(main_it);
if (!fmd->focused_it)
fmd->focused_it = it2;