hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=3a43682695b92913b4e8b1fae9ed0c74c644d8ff

commit 3a43682695b92913b4e8b1fae9ed0c74c644d8ff
Author: Hermet Park <her...@hermet.pe.kr>
Date:   Sat Mar 5 11:31:37 2016 +0900

    remove unused compile warnings.
---
 src/bin/edc_navigator.c | 33 ++++++++++++++++++---------------
 src/bin/file_mgr.c      |  1 -
 src/bin/live_edit.c     |  3 ++-
 src/bin/text_setting.c  |  2 +-
 4 files changed, 21 insertions(+), 18 deletions(-)

diff --git a/src/bin/edc_navigator.c b/src/bin/edc_navigator.c
index 982c34c..dcd81bc 100644
--- a/src/bin/edc_navigator.c
+++ b/src/bin/edc_navigator.c
@@ -117,7 +117,7 @@ find_group_proc_internal(char *utf8, char *utf8_end, const 
char *group_name)
 }
 
 static void
-find_group_proc(navi_data *nd, const char *group_name)
+find_group_proc(const char *group_name)
 {
    if (!group_name) return;
 
@@ -213,7 +213,7 @@ find_part_proc_internal(char *utf8, char *utf8_end, const 
char* group_name,
 }
 
 static void
-find_part_proc(navi_data *nd, const char *group_name, const char *part_name,
+find_part_proc(const char *group_name, const char *part_name,
                const char *part_type)
 {
    if (!group_name || !part_name) return;
@@ -238,7 +238,7 @@ end:
 }
 
 static void
-find_state_proc(navi_data *nd, const char *group_name, const char *part_name,
+find_state_proc(const char *group_name, const char *part_name,
                 const char *part_type, const char *state_name)
 {
    if (!group_name || !part_name) return;
@@ -339,7 +339,7 @@ find_programs_proc_internal(char *utf8, char *utf8_end, 
const char *group_name)
 }
 
 static void
-find_programs_proc(navi_data *nd, const char *group_name)
+find_programs_proc(const char *group_name)
 {
    if (!group_name) return;
 
@@ -364,8 +364,7 @@ end:
 }
 
 static void
-find_program_proc(navi_data *nd, const char *group_name,
-                  const char *program_name)
+find_program_proc(const char *group_name, const char *program_name)
 {
    if (!group_name || !program_name) return;
 
@@ -449,7 +448,7 @@ gl_state_selected_cb(void *data, Evas_Object *obj 
EINA_UNUSED, void *event_info)
 
    const char *part_type = part_type_get(parent_it);
 
-   find_state_proc(nd, stats_group_name_get(),
+   find_state_proc(stats_group_name_get(),
                    elm_object_item_text_get(parent_it), part_type,
                    elm_object_item_text_get(it));
 }
@@ -510,7 +509,8 @@ gl_state_text_get_cb(void *data, Evas_Object *obj 
EINA_UNUSED,
 }
 
 static Evas_Object *
-gl_state_content_get_cb(void *data, Evas_Object *obj, const char *part)
+gl_state_content_get_cb(void *data EINA_UNUSED, Evas_Object *obj,
+                        const char *part)
 {
    if (strcmp("elm.swallow.icon", part)) return NULL;
 
@@ -523,7 +523,8 @@ gl_state_content_get_cb(void *data, Evas_Object *obj, const 
char *part)
 /* Program Related */
 
 static Evas_Object *
-gl_program_content_get_cb(void *data, Evas_Object *obj, const char *part)
+gl_program_content_get_cb(void *data EINA_UNUSED, Evas_Object *obj,
+                          const char *part)
 {
    if (strcmp("elm.swallow.icon", part)) return NULL;
 
@@ -540,7 +541,7 @@ gl_program_selected_cb(void *data, Evas_Object *obj 
EINA_UNUSED,
 {
    navi_data *nd = data;
    Elm_Object_Item *it = event_info;
-   find_program_proc(nd, stats_group_name_get(), elm_object_item_text_get(it));
+   find_program_proc(stats_group_name_get(), elm_object_item_text_get(it));
 }
 
 static void
@@ -601,7 +602,7 @@ gl_programs_selected_cb(void *data, Evas_Object *obj 
EINA_UNUSED,
 
    Elm_Object_Item *parent_it = elm_genlist_item_parent_get(it);
 
-   find_programs_proc(nd, elm_object_item_text_get(parent_it));
+   find_programs_proc(elm_object_item_text_get(parent_it));
 }
 
 static void
@@ -643,7 +644,8 @@ gl_programs_text_get_cb(void *data EINA_UNUSED, Evas_Object 
*obj EINA_UNUSED,
 
 
 static Evas_Object *
-gl_programs_content_get_cb(void *data, Evas_Object *obj, const char *part)
+gl_programs_content_get_cb(void *data EINA_UNUSED, Evas_Object *obj,
+                           const char *part)
 {
    if (strcmp("elm.swallow.icon", part)) return NULL;
 
@@ -725,7 +727,7 @@ gl_part_selected_cb(void *data, Evas_Object *obj 
EINA_UNUSED, void *event_info)
 
    const char *part_type = part_type_get(it);
 
-   find_part_proc(nd, elm_object_item_text_get(parent_it), item_data->text,
+   find_part_proc(elm_object_item_text_get(parent_it), item_data->text,
                   part_type);
 }
 
@@ -770,7 +772,8 @@ parts_reload(navi_data *nd, Elm_Object_Item *group_it)
 /* Group Related */
 
 static Evas_Object *
-gl_group_content_get_cb(void *data, Evas_Object *obj, const char *part)
+gl_group_content_get_cb(void *data EINA_UNUSED, Evas_Object *obj,
+                        const char *part)
 {
    if (strcmp("elm.swallow.icon", part)) return NULL;
 
@@ -790,7 +793,7 @@ gl_group_selected_cb(void *data, Evas_Object *obj 
EINA_UNUSED, void *event_info)
    states_remove(nd);
    sub_programs_remove(nd);
 
-   find_group_proc(nd, elm_object_item_text_get(it));
+   find_group_proc(elm_object_item_text_get(it));
 }
 
 /*****************************************************************************/
diff --git a/src/bin/file_mgr.c b/src/bin/file_mgr.c
index bd5f37e..8ff212c 100644
--- a/src/bin/file_mgr.c
+++ b/src/bin/file_mgr.c
@@ -145,7 +145,6 @@ void
 file_mgr_edc_save(void)
 {
    char buf[PATH_MAX];
-   file_mgr_data *fmd = g_fmd;
 
    Eina_Bool save_success = enventor_object_save(base_enventor_get(),
                                                  config_input_path_get());
diff --git a/src/bin/live_edit.c b/src/bin/live_edit.c
index ab5b3ca..fe4eda6 100644
--- a/src/bin/live_edit.c
+++ b/src/bin/live_edit.c
@@ -987,7 +987,8 @@ live_edit_cancel(void)
 }
 
 static void
-live_btn_clicked_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
+live_btn_clicked_cb(void *data, Evas_Object *obj EINA_UNUSED,
+                    void *event_info EINA_UNUSED)
 {
    live_edit_cancel();
    goto_close();
diff --git a/src/bin/text_setting.c b/src/bin/text_setting.c
index 2803abf..4dc58d1 100644
--- a/src/bin/text_setting.c
+++ b/src/bin/text_setting.c
@@ -616,7 +616,7 @@ font_cmp_cb(const void *data1,
 }
 
 static void
-font_style_selected_cb(void *data, Evas_Object *obj,
+font_style_selected_cb(void *data EINA_UNUSED, Evas_Object *obj,
                        void *event_info EINA_UNUSED)
 {
    text_setting_data *tsd = g_tsd;

-- 


Reply via email to