seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=b7d11be88c9d84822ce7759c1430c1a23bccc14c
commit b7d11be88c9d84822ce7759c1430c1a23bccc14c Author: Daniel Juyung Seo <[email protected]> Date: Sun Aug 3 23:56:43 2014 +0900 fileselector: renamed internal variable to reduce confusion. This fixes coverity CID 1229550. --- src/lib/elc_fileselector.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/elc_fileselector.c b/src/lib/elc_fileselector.c index cf91b17..6fb87f2 100644 --- a/src/lib/elc_fileselector.c +++ b/src/lib/elc_fileselector.c @@ -1891,7 +1891,7 @@ EOLIAN static Eina_Bool _elm_fileselector_elm_interface_fileselector_selected_set(Eo *obj, Elm_Fileselector_Data *sd, const char *_path) { Eina_Bool ret = EINA_TRUE; - char *selected; + char *dir; char *path; path = ecore_file_realpath(_path); @@ -1905,10 +1905,10 @@ _elm_fileselector_elm_interface_fileselector_selected_set(Eo *obj, Elm_Fileselec goto clean_up; } - selected = ecore_file_dir_get(path); - _populate(obj, selected, NULL, path); + dir = ecore_file_dir_get(path); + _populate(obj, dir, NULL, path); eina_stringshare_replace(&sd->selection, path); - free(selected); + free(dir); } clean_up: --
