summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2014-08-03 23:56:43 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-08-03 23:56:43 +0900
commitb7d11be88c9d84822ce7759c1430c1a23bccc14c (patch)
tree873bb91fce0172f189b24bc62ac66deb1cf33983
parentb3cd928a8e8673cbc593b03da74121d42cf52d9d (diff)
fileselector: renamed internal variable to reduce confusion.
This fixes coverity CID 1229550.
-rw-r--r--src/lib/elc_fileselector.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/elc_fileselector.c b/src/lib/elc_fileselector.c
index cf91b176a..6fb87f22a 100644
--- a/src/lib/elc_fileselector.c
+++ b/src/lib/elc_fileselector.c
@@ -1891,7 +1891,7 @@ EOLIAN static Eina_Bool
1891_elm_fileselector_elm_interface_fileselector_selected_set(Eo *obj, Elm_Fileselector_Data *sd, const char *_path) 1891_elm_fileselector_elm_interface_fileselector_selected_set(Eo *obj, Elm_Fileselector_Data *sd, const char *_path)
1892{ 1892{
1893 Eina_Bool ret = EINA_TRUE; 1893 Eina_Bool ret = EINA_TRUE;
1894 char *selected; 1894 char *dir;
1895 char *path; 1895 char *path;
1896 1896
1897 path = ecore_file_realpath(_path); 1897 path = ecore_file_realpath(_path);
@@ -1905,10 +1905,10 @@ _elm_fileselector_elm_interface_fileselector_selected_set(Eo *obj, Elm_Fileselec
1905 goto clean_up; 1905 goto clean_up;
1906 } 1906 }
1907 1907
1908 selected = ecore_file_dir_get(path); 1908 dir = ecore_file_dir_get(path);
1909 _populate(obj, selected, NULL, path); 1909 _populate(obj, dir, NULL, path);
1910 eina_stringshare_replace(&sd->selection, path); 1910 eina_stringshare_replace(&sd->selection, path);
1911 free(selected); 1911 free(dir);
1912 } 1912 }
1913 1913
1914clean_up: 1914clean_up: