summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-12-04 08:45:02 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-12-04 08:45:02 +0000
commitf0092e8e0d12d4543bfc997c284169904b93b2da (patch)
treec94eb6058c82a8f19214f537ec3649c2b1e719c2 /src/lib/elementary
parente3fb243feb074d8f946b8156fece688c4efeef94 (diff)
elm config - fix warnings about unused vars and params
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/elm_config.c9
1 files 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)
1436{ 1436{
1437 char buf[PATH_MAX], *p, *s; 1437 char buf[PATH_MAX], *p, *s;
1438 Eet_File *ef = NULL; 1438 Eet_File *ef = NULL;
1439 int len = 0, i; 1439 int len = 0;
1440 1440
1441 // if env var - use profile without question 1441 // if env var - use profile without question
1442 s = getenv("ELM_PROFILE"); 1442 s = getenv("ELM_PROFILE");
@@ -2188,9 +2188,9 @@ _elm_config_eet_close_error_get(Eet_File *ef,
2188static char * 2188static char *
2189_elm_config_profile_name_get() 2189_elm_config_profile_name_get()
2190{ 2190{
2191 char buf[PATH_MAX], *p, *s; 2191 char buf[PATH_MAX], *p;
2192 Eet_File *ef = NULL; 2192 Eet_File *ef = NULL;
2193 int len = 0, i; 2193 int len = 0;
2194 char *rst = NULL; 2194 char *rst = NULL;
2195 2195
2196 _elm_config_user_dir_snprintf(buf, sizeof(buf), "config/profile.cfg"); 2196 _elm_config_user_dir_snprintf(buf, sizeof(buf), "config/profile.cfg");
@@ -4408,12 +4408,11 @@ _config_change_delay_cb(void *data EINA_UNUSED)
4408 4408
4409static Eina_Bool 4409static Eina_Bool
4410_elm_config_file_monitor_cb(void *data EINA_UNUSED, 4410_elm_config_file_monitor_cb(void *data EINA_UNUSED,
4411 int type, 4411 int type EINA_UNUSED,
4412 void *event) 4412 void *event)
4413{ 4413{
4414 Eio_Monitor_Event *ev = event; 4414 Eio_Monitor_Event *ev = event;
4415 const char *file = ecore_file_file_get(ev->filename); 4415 const char *file = ecore_file_file_get(ev->filename);
4416 char buf[PATH_MAX];
4417 4416
4418 if (ev->monitor == _eio_config_monitor) 4417 if (ev->monitor == _eio_config_monitor)
4419 { 4418 {