A bit of clean up on enjoy

Remove __UNUSED__ from parameters on use.
Add __UNUSED__ to parameters not used.
Remove unused vars.



SVN revision: 54435
This commit is contained in:
Bruno Dilly 2010-11-10 19:25:14 +00:00
parent 6701b65df6
commit c0175e8dc9
2 changed files with 10 additions and 12 deletions

View File

@ -51,10 +51,9 @@ _libmgr_lms_charsets_add(Libmgr *mgr)
} }
static void static void
_libmgr_scan(Ecore_Thread *thread, void *data) _libmgr_scan(Ecore_Thread *thread __UNUSED__, void *data)
{ {
Libmgr *mgr = data; Libmgr *mgr = data;
lms_t *lms;
const char *scanpath; const char *scanpath;
Eina_List *l; Eina_List *l;
@ -92,7 +91,7 @@ libmgr_scanpath_add(Libmgr *mgr, const char *path)
} }
static void static void
_libmgr_scan_finish(Libmgr *mgr, Eina_Bool success) _libmgr_scan_finish(Libmgr *mgr, Eina_Bool success __UNUSED__)
{ {
const char *scanpath; const char *scanpath;
mgr->scan_end_cb(mgr->scan_end_cb_data, EINA_TRUE); mgr->scan_end_cb(mgr->scan_end_cb_data, EINA_TRUE);

View File

@ -76,7 +76,7 @@ _win_populate_job(void *data)
} }
static void static void
_win_scan_job_finished(void *data, Eina_Bool success) _win_scan_job_finished(void *data, Eina_Bool success __UNUSED__)
{ {
Win *w = data; Win *w = data;
list_thaw(w->list); list_thaw(w->list);
@ -393,14 +393,14 @@ _win_mode_nowplaying(void *data, Evas_Object *o __UNUSED__, const char *emission
} }
static void static void
_win_more(void *data, Evas_Object *o __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__) _win_more(void *data __UNUSED__, Evas_Object *o __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
{ {
Win *w = data; //Win *w = data;
DBG("todo"); DBG("todo");
} }
static void static void
_win_songs(void *data __UNUSED__, Evas_Object *o __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__) _win_songs(void *data, Evas_Object *o __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
{ {
Win *w = data; Win *w = data;
if (!list_songs_show(w->list)) return; if (!list_songs_show(w->list)) return;
@ -409,21 +409,21 @@ _win_songs(void *data __UNUSED__, Evas_Object *o __UNUSED__, const char *emissio
} }
static void static void
_win_repeat_on(void *data __UNUSED__, Evas_Object *o __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__) _win_repeat_on(void *data, Evas_Object *o __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
{ {
Win *w = data; Win *w = data;
w->play.repeat = EINA_TRUE; w->play.repeat = EINA_TRUE;
} }
static void static void
_win_repeat_off(void *data __UNUSED__, Evas_Object *o __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__) _win_repeat_off(void *data, Evas_Object *o __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
{ {
Win *w = data; Win *w = data;
w->play.repeat = EINA_FALSE; w->play.repeat = EINA_FALSE;
} }
static void static void
_win_shuffle_on(void *data __UNUSED__, Evas_Object *o __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__) _win_shuffle_on(void *data, Evas_Object *o __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
{ {
Win *w = data; Win *w = data;
w->play.shuffle = EINA_TRUE; w->play.shuffle = EINA_TRUE;
@ -431,7 +431,7 @@ _win_shuffle_on(void *data __UNUSED__, Evas_Object *o __UNUSED__, const char *em
} }
static void static void
_win_shuffle_off(void *data __UNUSED__, Evas_Object *o __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__) _win_shuffle_off(void *data, Evas_Object *o __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
{ {
Win *w = data; Win *w = data;
w->play.shuffle = EINA_FALSE; w->play.shuffle = EINA_FALSE;
@ -521,7 +521,6 @@ win_new(App *app)
{ {
Win *w = &_win; Win *w = &_win;
const char *s; const char *s;
const char **e;
Evas_Coord iw = 320, ih = 240; Evas_Coord iw = 320, ih = 240;
char path[PATH_MAX]; char path[PATH_MAX];
Evas_Object *nowplaying_edje; Evas_Object *nowplaying_edje;