devilhorns pushed a commit to branch master.
commit cda1abc1ec2739cad4c86ba49109a5606d388984
Author: Chris Michael <[email protected]>
Date: Thu Jun 20 04:33:41 2013 +0100
Dont need the ret variable unless we are actually going to use it.
Signed-off-by: Chris Michael <[email protected]>
---
src/lib/ecore_wayland/ecore_wl.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/lib/ecore_wayland/ecore_wl.c b/src/lib/ecore_wayland/ecore_wl.c
index 959020a..8793146 100644
--- a/src/lib/ecore_wayland/ecore_wl.c
+++ b/src/lib/ecore_wayland/ecore_wl.c
@@ -419,7 +419,6 @@ static Eina_Bool
_ecore_wl_cb_handle_data(void *data, Ecore_Fd_Handler *hdl)
{
Ecore_Wl_Display *ewd;
- int ret;
/* LOGFN(__FILE__, __LINE__, __FUNCTION__); */
@@ -433,6 +432,8 @@ _ecore_wl_cb_handle_data(void *data, Ecore_Fd_Handler *hdl)
wl_display_dispatch(ewd->wl.display);
else if (ecore_main_fd_handler_active_get(hdl, ECORE_FD_WRITE))
{
+ int ret = 0;
+
ret = wl_display_flush(ewd->wl.display);
if (ret == 0)
ecore_main_fd_handler_active_set(hdl, ECORE_FD_READ);
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev