From 886c20a43b75256f7895328af2edf40c284f0b4f Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Mon, 30 Nov 2015 09:15:53 -0500 Subject: [PATCH] evas-3d: Fix missing field initializers Clang spits warnings here about missing field initializers for Evas_Vec3 (missing y and z fields), so we will explicitly initialize them to 0 (matching the x field). @fix Signed-off-by: Chris Michael --- src/lib/evas/include/evas_3d_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/evas/include/evas_3d_utils.h b/src/lib/evas/include/evas_3d_utils.h index c29f24f928..10192cc7c0 100644 --- a/src/lib/evas/include/evas_3d_utils.h +++ b/src/lib/evas/include/evas_3d_utils.h @@ -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 = {0}; + Evas_Vec3 vect = {0, 0, 0}; switch (coord) { case 0: