Lots of cleanup (Remove unused variables & functions)

SVN revision: 31468
This commit is contained in:
Christopher Michael 2007-08-23 09:45:30 +00:00
parent 5dc90c19da
commit d0578eb3cb
4 changed files with 9 additions and 7 deletions

View File

@ -3475,7 +3475,6 @@ _e_fm2_uri_escape(const char *path)
dest[i] = *p;
else
{
char escaped[3];
snprintf(&(dest[i]), 4, "%%%02X", *p);
i += 2;
}
@ -5404,7 +5403,7 @@ _e_fm2_cb_icon_mouse_move(void *data, Evas *e, Evas_Object *obj, void *event_inf
const char *drag_types[] = { "text/uri-list" }, *realpath;
char buf[PATH_MAX + 8], *sel = NULL;
E_Container *con = NULL;
Evas_List *l, *sl, *fsel = NULL;
Evas_List *l, *sl;
int i, sel_length = 0;
switch (ic->sd->eobj->type)

View File

@ -5,8 +5,8 @@
static Evas_Bool _e_fm2_custom_file_hash_foreach_list(Evas_Hash *hash, const char *key, void *data, void *fdata);
static Evas_List *_e_fm2_custom_hash_key_base_list(Evas_Hash *hash, const char *str);
static Evas_Bool _e_fm2_custom_file_hash_foreach_sub_list(Evas_Hash *hash, const char *key, void *data, void *fdata);
static Evas_List *_e_fm2_custom_hash_key_sub_list(Evas_Hash *hash, const char *str);
//static Evas_Bool _e_fm2_custom_file_hash_foreach_sub_list(Evas_Hash *hash, const char *key, void *data, void *fdata);
//static Evas_List *_e_fm2_custom_hash_key_sub_list(Evas_Hash *hash, const char *str);
static Evas_Bool _e_fm2_custom_file_hash_foreach(Evas_Hash *hash, const char *key, void *data, void *fdata);
static Evas_Bool _e_fm2_custom_file_hash_foreach_save(Evas_Hash *hash, const char *key, void *data, void *fdata);
static void _e_fm2_custom_file_info_load(void);
@ -240,6 +240,7 @@ _e_fm2_custom_hash_key_base_list(Evas_Hash *hash, const char *str)
return cl.l;
}
/*
static Evas_Bool
_e_fm2_custom_file_hash_foreach_sub_list(Evas_Hash *hash, const char *key, void *data, void *fdata)
{
@ -250,7 +251,9 @@ _e_fm2_custom_file_hash_foreach_sub_list(Evas_Hash *hash, const char *key, void
cl->l = evas_list_append(cl->l, key);
return 1;
}
*/
/*
static Evas_List *
_e_fm2_custom_hash_key_sub_list(Evas_Hash *hash, const char *str)
{
@ -262,6 +265,7 @@ _e_fm2_custom_hash_key_sub_list(Evas_Hash *hash, const char *str)
_e_fm2_custom_file_hash_foreach_sub_list, &cl);
return cl.l;
}
*/
static Evas_Bool
_e_fm2_custom_file_hash_foreach(Evas_Hash *hash, const char *key, void *data, void *fdata)

View File

@ -33,7 +33,6 @@ static void _btn_cb_load (void *data, void *data2);
static void _btn_cb_about (void *data, void *data2);
static void _btn_cb_config (void *data, void *data2);
static int _upd_hdl_cb (void *data, int type, void *event);
static void _reload_modules (E_Config_Dialog_Data *cfdata);
/* Hash callback Protos */
static Evas_Bool _modules_hash_cb_free (Evas_Hash *hash __UNUSED__,
@ -516,6 +515,7 @@ _upd_hdl_cb(void *data, int type, void *event)
ev = event;
_fill_avail_list(cfdata);
_fill_loaded_list(cfdata);
return 1;
}
/* Hash callback Functions */

View File

@ -1466,7 +1466,6 @@ static void
_e_int_menus_augmentation_add(E_Menu *m, Evas_List *augmentation)
{
Evas_List *l;
E_Menu_Item *mi;
for (l = augmentation; l; l = l->next)
{