Evas: remove extra if from evas_3d_utils.h
Summary: remove extra if from evas_3d_utils.h according to Coverity (CID1339788) Reviewers: raster, Hermet, cedric Subscribers: jpeg, artem.popov Differential Revision: https://phab.enlightenment.org/D3558
This commit is contained in:
parent
1aafaca172
commit
ba31dc7194
|
@ -1746,8 +1746,6 @@ evas_convex_hull_get(float *data, int count, int stride, Eina_Inarray *vertex,
|
|||
{
|
||||
if ((!equivalent_triangle) && (!second_exist_twice) && (!triangle_chain) && (if_two < 2))
|
||||
{
|
||||
if (new_elem2)
|
||||
free (new_elem2);
|
||||
new_elem2 = malloc(sizeof(Evas_Triangle3));
|
||||
evas_triangle3_set(new_elem2, best, &tmp2, &tmp1);
|
||||
eina_array_push(&arr_elems, new_elem2);
|
||||
|
|
Loading…
Reference in New Issue