From: Stefan Schmidt Date: Fri, 11 Apr 2014 09:26:18 +0000 (+0200) Subject: ecore_con: Remove superfluous >= 0 check for unsigned X-Git-Tag: v1.10.0-alpha1~191 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b53a68d4c68f1ab47dc78c1d867244e61c1d073c;p=platform%2Fupstream%2Fefl.git ecore_con: Remove superfluous >= 0 check for unsigned Since num was changed from (signed) int to (unsigned) size_t in 16d7b981ebc22df86e4dc7719ae63677bff8b1e1 this check no longer makes sense as it will always be true. --- diff --git a/src/lib/ecore_con/ecore_con.c b/src/lib/ecore_con/ecore_con.c index bf18feb..fb251d4 100644 --- a/src/lib/ecore_con/ecore_con.c +++ b/src/lib/ecore_con/ecore_con.c @@ -2467,7 +2467,7 @@ _ecore_con_client_flush(Ecore_Con_Client *cl) if (cl->fd_handler) ecore_main_fd_handler_active_set(cl->fd_handler, ECORE_FD_READ); } - else if (cl->fd_handler && (num >= 0)) + else if (cl->fd_handler) ecore_main_fd_handler_active_set(cl->fd_handler, ECORE_FD_WRITE); }