elm/config: remove unused 'cur_selected'
authorjihoon <jihoon@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 13 Feb 2012 04:48:47 +0000 (04:48 +0000)
committerjihoon <jihoon@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 13 Feb 2012 04:48:47 +0000 (04:48 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@67869 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/config.c

index 7a78c46..bc64750 100644 (file)
@@ -2121,7 +2121,6 @@ _profiles_list_selected_cb(void            *data,
 {
    const char *cur_profile = NULL;
    const char *sel_profile, *pdir;
-   Eina_Bool cur_selected;
    const char *prof_name;
    char buf[PATH_MAX];
    Evas_Object *en;
@@ -2134,7 +2133,6 @@ _profiles_list_selected_cb(void            *data,
      return;
 
    cur_profile = elm_profile_current_get();
-   cur_selected = !strcmp(cur_profile, sel_profile);
 
    pdir = elm_profile_dir_get(sel_profile, EINA_TRUE);
    if (!pdir) pdir = elm_profile_dir_get(sel_profile, EINA_FALSE);