jaehyun pushed a commit to branch master. http://git.enlightenment.org/tools/enventor.git/commit/?id=b6d9930e0a62c901a1be54abbd004b4605336c3e
commit b6d9930e0a62c901a1be54abbd004b4605336c3e Author: Jaehyun Cho <jae_hyun....@samsung.com> Date: Tue Aug 23 23:39:58 2016 +0900 file_mgr: Remove redundant code. --- src/bin/file_mgr.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/bin/file_mgr.c b/src/bin/file_mgr.c index ba57c53..215d66c 100644 --- a/src/bin/file_mgr.c +++ b/src/bin/file_mgr.c @@ -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; --