summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_async_events.c
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-07 22:46:01 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-07 22:46:01 +0000
commit3c7fddb78d6908f60ebbce4533e904e4b22d6856 (patch)
tree4e42fe0016f7152162fb4fbfca6b014275216c12 /src/lib/evas/canvas/evas_async_events.c
parent5286e5bfe01e48f1ea55eba1dfa4dabc07fb20b4 (diff)
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
Diffstat (limited to 'src/lib/evas/canvas/evas_async_events.c')
-rw-r--r--src/lib/evas/canvas/evas_async_events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_async_events.c b/src/lib/evas/canvas/evas_async_events.c
index ebf81cd..6d9fac7 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
255 255
256 evas_cache_image_wakeup(); 256 evas_cache_image_wakeup();
257 257
258 if ((count > 0) || (check == sizeof (int))) 258 if ((count != 0) || (check == sizeof (int)))
259 return EINA_TRUE; 259 return EINA_TRUE;
260 260
261 switch (errno) 261 switch (errno)