From 244e68dec25672ab543b4a87c1ea2020622c6776 Mon Sep 17 00:00:00 2001 From: discomfitor Date: Thu, 19 Jan 2012 07:36:02 +0000 Subject: [PATCH] remove use of 'dead' variable from win32 code git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@67319 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore_con/ecore_con_local_win32.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/lib/ecore_con/ecore_con_local_win32.c b/src/lib/ecore_con/ecore_con_local_win32.c index 858daa5..90f0929 100644 --- a/src/lib/ecore_con/ecore_con_local_win32.c +++ b/src/lib/ecore_con/ecore_con_local_win32.c @@ -77,7 +77,6 @@ _ecore_con_local_win32_server_read_client_handler(void *data, Ecore_Win32_Handle #endif if (!cl->delete_me) ecore_con_event_client_del(cl); - cl->dead = EINA_TRUE; return ECORE_CALLBACK_CANCEL; } @@ -112,7 +111,6 @@ _ecore_con_local_win32_server_peek_client_handler(void *data, Ecore_Win32_Handle #endif if (!cl->host_server->delete_me) ecore_con_event_server_del(cl->host_server); - cl->host_server->dead = EINA_TRUE; return ECORE_CALLBACK_CANCEL; ecore_main_win32_handler_del(wh); @@ -142,7 +140,6 @@ _ecore_con_local_win32_client_peek_server_handler(void *data, Ecore_Win32_Handle #endif if (!svr->delete_me) ecore_con_event_server_del(svr); - svr->dead = EINA_TRUE; return ECORE_CALLBACK_CANCEL; ecore_main_win32_handler_del(wh); @@ -193,7 +190,6 @@ _ecore_con_local_win32_client_read_server_handler(void *data, Ecore_Win32_Handle #endif if (!svr->delete_me) ecore_con_event_server_del(svr); - svr->dead = EINA_TRUE; return ECORE_CALLBACK_CANCEL; } @@ -296,9 +292,6 @@ _ecore_con_local_win32_client_add(void *data, Ecore_Win32_Handler *wh) if (!svr->pipe) return ECORE_CALLBACK_CANCEL; - if (svr->dead) - return ECORE_CALLBACK_CANCEL; - if (svr->delete_me) return ECORE_CALLBACK_CANCEL; @@ -700,7 +693,6 @@ ecore_con_local_win32_server_flush(Ecore_Con_Server *svr) } if (!svr->delete_me) ecore_con_event_server_del(svr); - svr->dead = EINA_TRUE; } svr->write_buf_offset += written; @@ -751,7 +743,6 @@ ecore_con_local_win32_client_flush(Ecore_Con_Client *cl) } if (!cl->delete_me) ecore_con_event_client_del(cl); - cl->dead = EINA_TRUE; } cl->buf_offset += written; -- 2.7.4