evas render - remove obj null check in proxy clip as obj not null

obj is never null. so this check is pointless. not a bug though.

found by PVS studio
This commit is contained in:
Carsten Haitzler 2017-07-29 12:26:49 +09:00
parent 3c27869c93
commit 29eebb44fc
1 changed files with 1 additions and 1 deletions

View File

@ -1638,7 +1638,7 @@ _proxy_context_clip(Evas_Public_Data *evas, void *ctx, Evas_Proxy_Render_Data *p
return ((cw > 0) && (ch > 0));
}
if (!obj || !obj->cur->clipper) return EINA_TRUE;
if (!obj->cur->clipper) return EINA_TRUE;
clipper = obj->cur->clipper;
if (!clipper->cur->visible) return EINA_FALSE;