diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2020-02-16 12:45:26 +0000 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2020-02-16 12:45:26 +0000 |
commit | 276eb5b0911965e1692a020a310dce0914d33c5d (patch) | |
tree | 93ed2443c5b6cc0f7fa5e6cd0173ed90db8f6a71 /src/modules/pager | |
parent | 2f6da4fbe553955fb3dd0812d92ae953dfe3b7f8 (diff) | |
download | enlightenment-276eb5b0911965e1692a020a310dce0914d33c5d.tar.gz |
pager - remove unsued vars from segv fix
Diffstat (limited to 'src/modules/pager')
-rw-r--r-- | src/modules/pager/gadget/pager.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/modules/pager/gadget/pager.c b/src/modules/pager/gadget/pager.c index c5ad9d0c45..dab861b0e6 100644 --- a/src/modules/pager/gadget/pager.c +++ b/src/modules/pager/gadget/pager.c @@ -1757,18 +1757,15 @@ _pager_cb_event_client_property(void *data EINA_UNUSED, int type EINA_UNUSED, vo static Eina_Bool _pager_cb_event_zone_desk_count_set(void *data EINA_UNUSED, int type EINA_UNUSED, E_Event_Zone_Desk_Count_Set *ev) { - E_Desk *desk; - Eina_List *l, *ll; + Eina_List *l; Pager *p; - Pager_Desk *pd = NULL; - int x, y, xx, yy; + int xx, yy; xx = ev->zone->desk_x_count; yy = ev->zone->desk_y_count; EINA_LIST_FOREACH(pagers, l, p) { - if ((xx == p->xnum) && (yy == p->ynum)) - continue; + if ((xx == p->xnum) && (yy == p->ynum)) continue; _pager_empty(p); _pager_fill(p); if (p->inst) _pager_orient(p->inst, e_gadget_site_orient_get(e_gadget_site_get(p->inst->o_pager))); |