From 597aec171033dd96e041fa344b0ecee97b665d50 Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Wed, 2 Apr 2014 09:27:13 -0400 Subject: [PATCH] remove unused comp object variable use and function call in show helper Reviewers: zmike Differential Revision: https://phab.enlightenment.org/D686 --- src/bin/e_comp_object.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index 9c5fce065..b1832e8ab 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -1226,7 +1226,7 @@ _e_comp_intercept_hide(void *data, Evas_Object *obj) static void _e_comp_intercept_show_helper(E_Comp_Object *cw) { - int w = 0, h = 0, pw, ph; + int w = 0, h = 0; if (cw->ec->sticky) e_comp_object_signal_emit(cw->smart_obj, "e,state,sticky", "e"); @@ -1264,7 +1264,6 @@ _e_comp_intercept_show_helper(E_Comp_Object *cw) EC_CHANGED(cw->ec); return; } - e_pixmap_size_get(cw->ec->pixmap, &pw, &ph); if (!e_pixmap_size_get(cw->ec->pixmap, &w, &h)) e_pixmap_clear(cw->ec->pixmap);