hermet pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=7db940ce4108f318a2592be93a0ea8aabc7ffda0

commit 7db940ce4108f318a2592be93a0ea8aabc7ffda0
Author: ChunEon Park <her...@hermet.pe.kr>
Date:   Mon Mar 10 23:18:29 2014 +0900

    config - don't allocate memory that will be never read.
    
    CID: c3b272 d9802b, c0c72f
---
 src/bin/config.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/bin/config.c b/src/bin/config.c
index eaf4768..830aa56 100644
--- a/src/bin/config.c
+++ b/src/bin/config.c
@@ -2522,7 +2522,6 @@ _profiles_list_selected_cb(void            *data,
         else prof_name = cur_profile;
      }
 #endif
-   prof_name = cur_profile;
 
    if (!pdir)
      elm_object_disabled_set(evas_object_data_get(obj, "prof_reset_btn"),
@@ -2582,7 +2581,6 @@ _profiles_list_fill(Evas_Object *l_widget,
 
         pdir = elm_config_profile_dir_get(profile, EINA_TRUE);
         if (!pdir) pdir = elm_config_profile_dir_get(profile, EINA_FALSE);
-        label = profile;
 
 #ifdef ELM_EFREET
         snprintf(buf, sizeof(buf), "%s/profile.desktop", pdir);

-- 


Reply via email to