hermet pushed a commit to branch master.

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

commit ea715444ed70123fc8cc02305a89b43dbd353f3a
Author: ChunEon Park <her...@hermet.pe.kr>
Date:   Mon Jun 22 15:44:22 2015 +0900

    remove compile warnings.
    
    remove unused variables.
---
 src/bin/config_data.c | 1 -
 src/bin/main.c        | 4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/bin/config_data.c b/src/bin/config_data.c
index a0ec542..2a3d7ad 100644
--- a/src/bin/config_data.c
+++ b/src/bin/config_data.c
@@ -281,7 +281,6 @@ config_init(const char *edc_path, const char *edj_path,
             Eina_List *edc_img_path, Eina_List *edc_snd_path,
             Eina_List *edc_fnt_path, Eina_List *edc_dat_path)
 {
-   Eina_Stringshare *s;
    eddc_init();
 
    config_data *cd = config_load();
diff --git a/src/bin/main.c b/src/bin/main.c
index 0860931..a6a1ab2 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -565,7 +565,7 @@ default_template_insert(app_data *ad)
 }
 
 static Eina_Bool
-alt_func(app_data *ad, Ecore_Event_Key *event)
+alt_func(Ecore_Event_Key *event)
 {
    if (!(event->modifiers & ECORE_EVENT_MODIFIER_ALT))
      return EINA_FALSE;
@@ -722,7 +722,7 @@ main_key_down_cb(void *data, int type EINA_UNUSED, void *ev)
    if (file_mgr_warning_is_opened()) return ECORE_CALLBACK_PASS_ON;
 
    if (ctrl_func(ad, event)) return ECORE_CALLBACK_DONE;
-   if (alt_func(ad, event)) return ECORE_CALLBACK_DONE;
+   if (alt_func(event)) return ECORE_CALLBACK_DONE;
 
    //Control Key
    if (!strcmp("Control_L", event->key))

-- 


Reply via email to