remove unused comp object variable use and function call in show helper
authorSeunghun Lee <shiin.lee@samsung.com>
Wed, 2 Apr 2014 13:27:13 +0000 (09:27 -0400)
committerMike Blumenkrantz <zmike@samsung.com>
Wed, 2 Apr 2014 13:27:20 +0000 (09:27 -0400)
Reviewers: zmike

Differential Revision: https://phab.enlightenment.org/D686

src/bin/e_comp_object.c

index 9c5fce06562f6b191f6a8903cf1d8958dc9a874d..b1832e8ab435b0e213515a4fd82e141e4b8d7476 100644 (file)
@@ -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);