raster pushed a commit to branch master.

commit 38d468fc612a1b2f3af01a182fd246f6b82b16a0
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Tue Jul 16 21:42:17 2013 +0900

    remove warngings
---
 src/bin/media.c  |  3 +++
 src/bin/termio.c |  1 -
 src/bin/tycat.c  |  2 +-
 src/bin/tyls.c   | 32 --------------------------------
 4 files changed, 4 insertions(+), 34 deletions(-)

diff --git a/src/bin/media.c b/src/bin/media.c
index 697ef83..da139fc 100644
--- a/src/bin/media.c
+++ b/src/bin/media.c
@@ -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);
diff --git a/src/bin/termio.c b/src/bin/termio.c
index 052d205..ee2f486 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -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);
diff --git a/src/bin/tycat.c b/src/bin/tycat.c
index 9ef2222..71c2f17 100644
--- a/src/bin/tycat.c
+++ b/src/bin/tycat.c
@@ -327,5 +327,5 @@ shutdown:
    ecore_file_shutdown();
    ecore_shutdown();
    eina_shutdown();
-   return 0;
+   return ret;
 }
diff --git a/src/bin/tyls.c b/src/bin/tyls.c
index 3d815cc..87d3f03 100644
--- a/src/bin/tyls.c
+++ b/src/bin/tyls.c
@@ -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)
 {
@@ -46,36 +44,6 @@ echo_on(void)
 }
 
 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)
 {
    if (size < 1024LL)

-- 

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk

Reply via email to