evas: fix uninitialize variable in convex_hull_vertex_set function

Summary:
A bit of useless claim, becouse parameter coord always have value 0 or 1 or 2.
May be for escape problem in future.
@fix
CID: 1339781

Reviewers: raster, cedric

Reviewed By: cedric

Differential Revision: https://phab.enlightenment.org/D3349

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
Oleksandr Shcherbina 2015-11-23 08:18:51 +01:00 committed by Cedric BAIL
parent 6866d256e8
commit 3a56b3f013
1 changed files with 2 additions and 2 deletions

View File

@ -1578,7 +1578,7 @@ convex_hull_vertex_set(Evas_Triangle3 *el, unsigned short int *vertex_count, flo
unsigned short int **index, unsigned int k, int *leader, int coord)
{
int color_coords, normal_coords;
Evas_Vec3 vect;
Evas_Vec3 vect = {0};
switch (coord)
{
case 0:
@ -1904,7 +1904,7 @@ evas_convex_hull_get(float *data, int count, int stride, Eina_Inarray *vertex,
on_plain = EINA_FALSE;
right = EINA_FALSE;
/* The case when several points are found, is discussed below.
/* The case when several points are found, is discussed below.
This case is interesting because the convex hull in the
two-dimensional subspace should be filled further */
if ((cos != 1.0) && (1 < eina_array_count(&arr_candidates)))