devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=fa68ec127dd40a63875a9408d699847f44076769

commit fa68ec127dd40a63875a9408d699847f44076769
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Wed Apr 8 14:49:17 2015 -0400

    e_comp: Only need 'type' variable if we are building with HAVE_WAYLAND
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/bin/e_comp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 25132e5..52876de 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -1277,8 +1277,6 @@ e_comp_internal_save(void)
 EINTERN int
 e_comp_shutdown(void)
 {
-   E_Pixmap_Type type = e_comp->comp_type;
-
    E_FREE_FUNC(action_timeout, ecore_timer_del);
    while (e_comp->clients)
      e_object_del(eina_list_data_get(e_comp->clients));
@@ -1288,6 +1286,8 @@ e_comp_shutdown(void)
    E_FREE_LIST(hooks, e_client_hook_del);
 
 #ifdef HAVE_WAYLAND
+   E_Pixmap_Type type = e_comp->comp_type;
+
    if (type == E_PIXMAP_TYPE_WL)
      e_comp_wl_shutdown();
 #endif

-- 


Reply via email to