hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=964a31831d0e3fd342fdf0f024647896b1dda375

commit 964a31831d0e3fd342fdf0f024647896b1dda375
Author: Hermet Park <her...@hermet.pe.kr>
Date:   Sat Mar 5 11:49:12 2016 +0900

    remove compile warnings.
    
    1. unused variable.
    2. compare signed and unsigned
    3. undelcared function call.
---
 src/bin/edc_navigator.c | 10 ++++++----
 src/include/common.h    |  3 ---
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/src/bin/edc_navigator.c b/src/bin/edc_navigator.c
index dcd81bc..bf00cad 100644
--- a/src/bin/edc_navigator.c
+++ b/src/bin/edc_navigator.c
@@ -1,5 +1,8 @@
 #include "common.h"
 
+#define EDJE_EDIT_IS_UNSTABLE_AND_I_KNOW_ABOUT_IT
+#include <Edje_Edit.h>
+
 typedef struct edc_navigator_s
 {
    Evas_Object *genlist;
@@ -536,10 +539,9 @@ gl_program_content_get_cb(void *data EINA_UNUSED, 
Evas_Object *obj,
 
 
 static void
-gl_program_selected_cb(void *data, Evas_Object *obj EINA_UNUSED,
+gl_program_selected_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
                        void *event_info)
 {
-   navi_data *nd = data;
    Elm_Object_Item *it = event_info;
    find_program_proc(stats_group_name_get(), elm_object_item_text_get(it));
 }
@@ -826,7 +828,7 @@ edc_navigator_group_update(const char *cur_group)
 
    //Find a current group item and select it.
    Elm_Object_Item *group_it = NULL;
-   int cur_group_len = strlen(cur_group);
+   unsigned int cur_group_len = strlen(cur_group);
 
    EINA_LIST_FOREACH(nd->group_items, l, it)
      {
@@ -878,7 +880,7 @@ edc_navigator_reload(const char *cur_group)
    Eina_List *l;
    char *name;
    Elm_Object_Item *it;
-   int cur_group_len = strlen(cur_group);
+   unsigned int cur_group_len = strlen(cur_group);
 
    EINA_LIST_FOREACH(nd->group_list, l, name)
      {
diff --git a/src/include/common.h b/src/include/common.h
index fc319d7..907e280 100644
--- a/src/include/common.h
+++ b/src/include/common.h
@@ -1,9 +1,6 @@
 #ifndef __COMMON_H__
 #define __COMMON_H__
 
-typedef struct statusbar_s stats_data;
-
-
 #define ENVENTOR_HELP_EXAMPLES \
 "Examples of Enventor command line usage:\n \
 $ enventor\n \

-- 


Reply via email to