summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-29 12:26:49 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-29 12:26:49 +0900
commit29eebb44fc6df0ed50ebba929b22e0ee0483dab0 (patch)
treec54b0a0b5dcbb31b772abc405ab316eb631ab076
parent3c27869c9385f63b51b6dc3556e98d9f51414e06 (diff)
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
-rw-r--r--src/lib/evas/canvas/evas_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_render.c b/src/lib/evas/canvas/evas_render.c
index 1f2602adbc..7d66296f01 100644
--- a/src/lib/evas/canvas/evas_render.c
+++ b/src/lib/evas/canvas/evas_render.c
@@ -1638,7 +1638,7 @@ _proxy_context_clip(Evas_Public_Data *evas, void *ctx, Evas_Proxy_Render_Data *p
1638 return ((cw > 0) && (ch > 0)); 1638 return ((cw > 0) && (ch > 0));
1639 } 1639 }
1640 1640
1641 if (!obj || !obj->cur->clipper) return EINA_TRUE; 1641 if (!obj->cur->clipper) return EINA_TRUE;
1642 1642
1643 clipper = obj->cur->clipper; 1643 clipper = obj->cur->clipper;
1644 if (!clipper->cur->visible) return EINA_FALSE; 1644 if (!clipper->cur->visible) return EINA_FALSE;