summaryrefslogtreecommitdiff
path: root/src/lib/evas/include/evas_3d_utils.h
diff options
context:
space:
mode:
authorOleksandr Shcherbina <o.shcherbina@samsung.com>2015-11-23 08:19:49 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-11-23 08:20:26 +0100
commitd871ff8d11510f21c707d5431454489a9fa34f1c (patch)
tree0738ada5d4f59021e5bcfd181caeaee26c9a1300 /src/lib/evas/include/evas_3d_utils.h
parent3a56b3f01391771206c7ee274817a86ca88d38c6 (diff)
evas: remove useless part of code in evas_convex_hull_get function
Summary: @fix CID: 1339788 Reviewers: raster, cedric Reviewed By: cedric Differential Revision: https://phab.enlightenment.org/D3350 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/evas/include/evas_3d_utils.h')
-rw-r--r--src/lib/evas/include/evas_3d_utils.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/evas/include/evas_3d_utils.h b/src/lib/evas/include/evas_3d_utils.h
index 7c9b34e393..c29f24f928 100644
--- a/src/lib/evas/include/evas_3d_utils.h
+++ b/src/lib/evas/include/evas_3d_utils.h
@@ -2058,8 +2058,6 @@ evas_convex_hull_get(float *data, int count, int stride, Eina_Inarray *vertex,
2058 2058
2059 if ((!equivalent_triangle) && (!second_exist_twice) && (!triangle_chain) && (if_two < 2)) 2059 if ((!equivalent_triangle) && (!second_exist_twice) && (!triangle_chain) && (if_two < 2))
2060 { 2060 {
2061 if (new_elem2)
2062 free (new_elem2);
2063 new_elem2 = malloc(sizeof(Evas_Triangle3)); 2061 new_elem2 = malloc(sizeof(Evas_Triangle3));
2064 evas_triangle3_set(new_elem2, best, &tmp2, &tmp1); 2062 evas_triangle3_set(new_elem2, best, &tmp2, &tmp1);
2065 eina_array_push(&arr_elems, new_elem2); 2063 eina_array_push(&arr_elems, new_elem2);