ecore gl module - dont check value that is already valid

make coverity happy with CID 1347410 - it's technically right that the
code assumes the im ptr is valid until then as it dereferences it
until then and then stores it under pd->image but then checks for
NULL.. it would have crashed already if it were, so rmemove the
pointless check.
This commit is contained in:
Carsten Haitzler 2016-08-08 17:15:22 +09:00
parent e5dbf6cfba
commit 60fec61c8b
1 changed files with 0 additions and 1 deletions

View File

@ -48,7 +48,6 @@ _evas_ector_gl_rgbaimage_buffer_evas_ector_buffer_engine_image_set(Eo *obj, Evas
pd->evas = eo_xref(evas, obj);
evas_cache_image_ref(&im->cache_entry);
pd->image = im;
if (!pd->image) return;
ector_buffer_pixels_set(obj, im->image.data, im->cache_entry.w, im->cache_entry.h, 0, (Efl_Gfx_Colorspace) im->cache_entry.space, EINA_TRUE, 0, 0, 0, 0);
}