From 3c7fddb78d6908f60ebbce4533e904e4b22d6856 Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Mon, 7 Jan 2013 22:46:01 +0000 Subject: [PATCH] efl/evas: silent warning. count is type 'int', but used as unsigned it (always > 0), however gcc can't understand that and is complaining that 'check' could be used without being initialized... which is false. Make the test != 0 to silent gcc and make code as correct as before. SVN revision: 82369 --- src/lib/evas/canvas/evas_async_events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/evas/canvas/evas_async_events.c b/src/lib/evas/canvas/evas_async_events.c index ebf81cdcfa..6d9fac74ee 100644 --- a/src/lib/evas/canvas/evas_async_events.c +++ b/src/lib/evas/canvas/evas_async_events.c @@ -255,7 +255,7 @@ evas_async_events_put(const void *target, Evas_Callback_Type type, void *event_i evas_cache_image_wakeup(); - if ((count > 0) || (check == sizeof (int))) + if ((count != 0) || (check == sizeof (int))) return EINA_TRUE; switch (errno)