diff options
Diffstat (limited to 'src/lib/elementary')
-rw-r--r-- | src/lib/elementary/elm_config.c | 9 |
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, | |||
2188 | static char * | 2188 | static 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 | ||
4409 | static Eina_Bool | 4409 | static 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 | { |