summaryrefslogtreecommitdiff
path: root/src/lib/evas/include/evas_3d_utils.h
diff options
context:
space:
mode:
authorperepelits.m <perepelits.m@samsung.com>2016-01-13 13:48:32 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-01-13 14:50:59 +0900
commitba31dc71944d209c107f63b383368d0676a783d1 (patch)
tree07e7adbaa0bdf0de4896abf6ae606cf65257a5bf /src/lib/evas/include/evas_3d_utils.h
parent1aafaca172101a0a430ac095ad0d96290ff0d61e (diff)
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
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 9b901b4130..b2eb08ec44 100644
--- a/src/lib/evas/include/evas_3d_utils.h
+++ b/src/lib/evas/include/evas_3d_utils.h
@@ -1746,8 +1746,6 @@ evas_convex_hull_get(float *data, int count, int stride, Eina_Inarray *vertex,
1746 { 1746 {
1747 if ((!equivalent_triangle) && (!second_exist_twice) && (!triangle_chain) && (if_two < 2)) 1747 if ((!equivalent_triangle) && (!second_exist_twice) && (!triangle_chain) && (if_two < 2))
1748 { 1748 {
1749 if (new_elem2)
1750 free (new_elem2);
1751 new_elem2 = malloc(sizeof(Evas_Triangle3)); 1749 new_elem2 = malloc(sizeof(Evas_Triangle3));
1752 evas_triangle3_set(new_elem2, best, &tmp2, &tmp1); 1750 evas_triangle3_set(new_elem2, best, &tmp2, &tmp1);
1753 eina_array_push(&arr_elems, new_elem2); 1751 eina_array_push(&arr_elems, new_elem2);