remove warngings
This commit is contained in:
parent
164ebd4c67
commit
38d468fc61
|
@ -1034,6 +1034,9 @@ _url_compl_cb(void *data, int type __UNUSED__, void *event_info)
|
|||
_type_scale_init(obj);
|
||||
else if (_is_fmt(sd->src, extn_edj))
|
||||
_type_edje_init(obj);
|
||||
// FIXME: handle audio specially
|
||||
else if (_is_fmt(sd->src, extn_aud))
|
||||
_type_mov_init(obj);
|
||||
else if (_is_fmt(sd->src, extn_mov))
|
||||
_type_mov_init(obj);
|
||||
evas_object_raise(sd->o_busy);
|
||||
|
|
|
@ -3059,7 +3059,6 @@ _smart_cb_mouse_in(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__,
|
|||
static void
|
||||
_smart_cb_mouse_out(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event __UNUSED__)
|
||||
{
|
||||
Evas_Object *o;
|
||||
Termio *sd;
|
||||
|
||||
sd = evas_object_smart_data_get(data);
|
||||
|
|
|
@ -327,5 +327,5 @@ shutdown:
|
|||
ecore_file_shutdown();
|
||||
ecore_shutdown();
|
||||
eina_shutdown();
|
||||
return 0;
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -27,8 +27,6 @@ Evas_Object *o = NULL;
|
|||
struct termios told, tnew;
|
||||
int tw = 0, th = 0, cw = 0, ch = 0;
|
||||
|
||||
#include "extns.h"
|
||||
|
||||
static int
|
||||
echo_off(void)
|
||||
{
|
||||
|
@ -45,36 +43,6 @@ echo_on(void)
|
|||
return tcsetattr(0, TCSAFLUSH, &told);
|
||||
}
|
||||
|
||||
static void
|
||||
scaleterm(int w, int h, int *iw, int *ih)
|
||||
{
|
||||
if (w > (tw * cw))
|
||||
{
|
||||
*iw = tw;
|
||||
*ih = ((h * (tw * cw) / w) + (ch - 1)) / ch;
|
||||
}
|
||||
else
|
||||
{
|
||||
*iw = (w + (cw - 1)) / cw;
|
||||
*ih = (h + (ch - 1)) / ch;
|
||||
}
|
||||
}
|
||||
|
||||
static const char *
|
||||
is_fmt(const char *f, const char **extn)
|
||||
{
|
||||
int i, len, l;
|
||||
|
||||
len = strlen(f);
|
||||
for (i = 0; extn[i]; i++)
|
||||
{
|
||||
l = strlen(extn[i]);
|
||||
if (len < l) continue;
|
||||
if (!strcasecmp(extn[i], f + len - l)) return extn[i];
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static void
|
||||
size_print(char *buf, int bufsz, char *sz, unsigned long long size)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue