Use EINA_UNUSED, not __UNUSED__.

--
Tom.

On 27/08/13 14:25, Boris Faure - Enlightenment Git wrote:
> billiob pushed a commit to branch master.
>
> commit 2429f7d3ad0164272cfda2534da37fb1938d9752
> Author: Boris Faure <bill...@gmail.com>
> Date:   Tue Aug 27 15:23:49 2013 +0200
>
>      remove some warnings
> ---
>   src/bin/media.c | 4 ++--
>   src/bin/tyls.c  | 4 ++--
>   2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/src/bin/media.c b/src/bin/media.c
> index 3c6ed0e..c067518 100644
> --- a/src/bin/media.c
> +++ b/src/bin/media.c
> @@ -159,7 +159,7 @@ _cb_thumb_preloaded(void *data, Evas *e __UNUSED__, 
> Evas_Object *obj __UNUSED__,
>   }
>
>   static void
> -_et_done(Ethumb_Client *c, const char *file, const char *key, void *data)
> +_et_done(Ethumb_Client *c __UNUSED__, const char *file, const char *key, 
> void *data)
>   {
>      Evas_Object *obj = data;
>      Media *sd = evas_object_smart_data_get(obj);
> @@ -175,7 +175,7 @@ _et_done(Ethumb_Client *c, const char *file, const char 
> *key, void *data)
>   }
>
>   static void
> -_et_error(Ethumb_Client *c, void *data)
> +_et_error(Ethumb_Client *c __UNUSED__, void *data)
>   {
>      Evas_Object *obj = data;
>      Media *sd = evas_object_smart_data_get(obj);
> diff --git a/src/bin/tyls.c b/src/bin/tyls.c
> index 87d3f03..82ef6c7 100644
> --- a/src/bin/tyls.c
> +++ b/src/bin/tyls.c
> @@ -25,7 +25,7 @@ Ecore_Evas *ee = NULL;
>   Evas *evas = NULL;
>   Evas_Object *o = NULL;
>   struct termios told, tnew;
> -int tw = 0, th = 0, cw = 0, ch = 0;
> +int tw = 0, th = 0;
>
>   static int
>   echo_off(void)
> @@ -762,7 +762,7 @@ main(int argc, char **argv)
>      ee = ecore_evas_buffer_new(1, 1);
>      if (ee)
>        {
> -        int i, mode = SMALL;
> +        int i, cw, ch, mode = SMALL;
>           char *rp;
>
>           evas = ecore_evas_get(ee);
>


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to