forked from enlightenment/efl
ecore: resolve compiler warning
/home/jpeg/e/core/efl/src/lib/ecore/ecore_main.c:1381: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare] THANKS @JPEG FOR REPORTING
This commit is contained in:
parent
4a16eb15fb
commit
bcdd87ce35
|
@ -1378,7 +1378,7 @@ _ecore_main_fd_handler_add(int fd,
|
|||
DBG("_ecore_main_fd_handler_add");
|
||||
Ecore_Fd_Handler *fdh = NULL;
|
||||
|
||||
if ((fd < 0) || (flags < 0) || (!func)) return NULL;
|
||||
if ((fd < 0) || (!func)) return NULL;
|
||||
|
||||
fdh = ecore_fd_handler_calloc(1);
|
||||
if (!fdh) return NULL;
|
||||
|
|
Loading…
Reference in New Issue