remove build warnings to get a clean build

no actual functional changes
This commit is contained in:
Carsten Haitzler 2020-08-25 15:21:02 +01:00
parent d8d4b76a69
commit af99a9ea5c
3 changed files with 18 additions and 14 deletions

View File

@ -611,22 +611,22 @@ _cb_entry_table_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *in
} }
static void static void
_cb_entry_table_resize(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *info EINA_UNUSED) _cb_entry_table_resize(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *info EINA_UNUSED)
{ {
Entry *entry = data; // Entry *entry = data;
Evas_Object *win = evas_object_data_get(obj, "win"); // Evas_Object *win = evas_object_data_get(obj, "win");
if (initial_update_timer) return; // if (initial_update_timer) return;
// _entry_files_redo(win, entry); // _entry_files_redo(win, entry);
} }
static void static void
_cb_scroller_resize(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *info EINA_UNUSED) _cb_scroller_resize(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *info EINA_UNUSED)
{ {
Inf *inf = evas_object_data_get(data, "inf"); // Inf *inf = evas_object_data_get(data, "inf");
Eina_List *l; // Eina_List *l;
Entry *entry; // Entry *entry;
if ((!inf) || (!bx)) return; // if ((!inf) || (!bx)) return;
if (initial_update_timer) return; // if (initial_update_timer) return;
// printf("_cb_scroller_resize .... \n"); // printf("_cb_scroller_resize .... \n");
// EINA_LIST_FOREACH(entries, l, entry) // EINA_LIST_FOREACH(entries, l, entry)
// { // {

View File

@ -169,7 +169,8 @@ elm_main(int argc, char **argv)
Evas_Object *win; Evas_Object *win;
char buf[4096]; char buf[4096];
int i; int i;
Config *config; // XXX: to do later
// Config *config;
Inf *inf; Inf *inf;
Eina_Bool fullscreen = EINA_FALSE; Eina_Bool fullscreen = EINA_FALSE;
int rotation = 0; int rotation = 0;
@ -180,7 +181,8 @@ elm_main(int argc, char **argv)
elm_need_efreet(); elm_need_efreet();
config_init(); config_init();
config = config_get(); // XXX: to do later
// config = config_get();
for (i = 1; i < argc; i++) for (i = 1; i < argc; i++)
{ {
if ((!strcmp(argv[i], "-h")) || if ((!strcmp(argv[i], "-h")) ||

View File

@ -584,7 +584,8 @@ video_add(Evas_Object *parent)
Evas *e; Evas *e;
Evas_Object *obj, *o; Evas_Object *obj, *o;
Video *sd; Video *sd;
Config *config; // XXX: to do later
// Config *config;
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL); EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
e = evas_object_evas_get(parent); e = evas_object_evas_get(parent);
@ -598,7 +599,8 @@ video_add(Evas_Object *parent)
emotion_init(); emotion_init();
o = sd->o_vid = emotion_object_add(evas_object_evas_get(obj)); o = sd->o_vid = emotion_object_add(evas_object_evas_get(obj));
emotion_object_keep_aspect_set(o, EMOTION_ASPECT_KEEP_NONE); emotion_object_keep_aspect_set(o, EMOTION_ASPECT_KEEP_NONE);
config = config_get(); // XXX: to do later
// config = config_get();
evas_object_smart_callback_add(o, "frame_decode", _cb_vid_frame, obj); evas_object_smart_callback_add(o, "frame_decode", _cb_vid_frame, obj);
evas_object_smart_callback_add(o, "frame_resize", _cb_vid_resize, obj); evas_object_smart_callback_add(o, "frame_resize", _cb_vid_resize, obj);
evas_object_smart_callback_add(o, "decode_stop", _cb_vid_stop, obj); evas_object_smart_callback_add(o, "decode_stop", _cb_vid_stop, obj);