forked from enlightenment/efl
elm config - fix warnings about unused vars and params
This commit is contained in:
parent
e3fb243feb
commit
f0092e8e0d
|
@ -1436,7 +1436,7 @@ _profile_fetch_from_conf(void)
|
||||||
{
|
{
|
||||||
char buf[PATH_MAX], *p, *s;
|
char buf[PATH_MAX], *p, *s;
|
||||||
Eet_File *ef = NULL;
|
Eet_File *ef = NULL;
|
||||||
int len = 0, i;
|
int len = 0;
|
||||||
|
|
||||||
// if env var - use profile without question
|
// if env var - use profile without question
|
||||||
s = getenv("ELM_PROFILE");
|
s = getenv("ELM_PROFILE");
|
||||||
|
@ -2188,9 +2188,9 @@ _elm_config_eet_close_error_get(Eet_File *ef,
|
||||||
static char *
|
static char *
|
||||||
_elm_config_profile_name_get()
|
_elm_config_profile_name_get()
|
||||||
{
|
{
|
||||||
char buf[PATH_MAX], *p, *s;
|
char buf[PATH_MAX], *p;
|
||||||
Eet_File *ef = NULL;
|
Eet_File *ef = NULL;
|
||||||
int len = 0, i;
|
int len = 0;
|
||||||
char *rst = NULL;
|
char *rst = NULL;
|
||||||
|
|
||||||
_elm_config_user_dir_snprintf(buf, sizeof(buf), "config/profile.cfg");
|
_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
|
static Eina_Bool
|
||||||
_elm_config_file_monitor_cb(void *data EINA_UNUSED,
|
_elm_config_file_monitor_cb(void *data EINA_UNUSED,
|
||||||
int type,
|
int type EINA_UNUSED,
|
||||||
void *event)
|
void *event)
|
||||||
{
|
{
|
||||||
Eio_Monitor_Event *ev = event;
|
Eio_Monitor_Event *ev = event;
|
||||||
const char *file = ecore_file_file_get(ev->filename);
|
const char *file = ecore_file_file_get(ev->filename);
|
||||||
char buf[PATH_MAX];
|
|
||||||
|
|
||||||
if (ev->monitor == _eio_config_monitor)
|
if (ev->monitor == _eio_config_monitor)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue