raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=f0092e8e0d12d4543bfc997c284169904b93b2da

commit f0092e8e0d12d4543bfc997c284169904b93b2da
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Tue Dec 4 08:45:02 2018 +0000

    elm config - fix warnings about unused vars and params
---
 src/lib/elementary/elm_config.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/lib/elementary/elm_config.c b/src/lib/elementary/elm_config.c
index 6102ec6dcb..8466faff4d 100644
--- a/src/lib/elementary/elm_config.c
+++ b/src/lib/elementary/elm_config.c
@@ -1436,7 +1436,7 @@ _profile_fetch_from_conf(void)
 {
    char buf[PATH_MAX], *p, *s;
    Eet_File *ef = NULL;
-   int len = 0, i;
+   int len = 0;
 
    // if env var - use profile without question
    s = getenv("ELM_PROFILE");
@@ -2188,9 +2188,9 @@ _elm_config_eet_close_error_get(Eet_File *ef,
 static char *
 _elm_config_profile_name_get()
 {
-   char buf[PATH_MAX], *p, *s;
+   char buf[PATH_MAX], *p;
    Eet_File *ef = NULL;
-   int len = 0, i;
+   int len = 0;
    char *rst = NULL;
 
    _elm_config_user_dir_snprintf(buf, sizeof(buf), "config/profile.cfg");
@@ -4408,12 +4408,11 @@ _config_change_delay_cb(void *data EINA_UNUSED)
 
 static Eina_Bool
 _elm_config_file_monitor_cb(void *data EINA_UNUSED,
-                            int type,
+                            int type EINA_UNUSED,
                             void *event)
 {
    Eio_Monitor_Event *ev = event;
    const char *file = ecore_file_file_get(ev->filename);
-   char buf[PATH_MAX];
 
    if (ev->monitor == _eio_config_monitor)
      {

-- 


Reply via email to