diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2015-02-18 22:16:48 +0100 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2015-02-18 22:42:17 +0100 |
commit | d6f2dd4dd07dee11eb4121d950f37a534d43dadb (patch) | |
tree | 56a383cd7914899b015cf87e7437a4c844dcbfd5 /src/modules/evas/model_loaders/obj | |
parent | 2e2145b5945c94587e5a11502432ea2e8f75d2bd (diff) |
evas: remove compilation warning.
Diffstat (limited to 'src/modules/evas/model_loaders/obj')
-rw-r--r-- | src/modules/evas/model_loaders/obj/evas_model_load_obj.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/evas/model_loaders/obj/evas_model_load_obj.c b/src/modules/evas/model_loaders/obj/evas_model_load_obj.c index 24f38c4..b88f95b 100644 --- a/src/modules/evas/model_loaders/obj/evas_model_load_obj.c +++ b/src/modules/evas/model_loaders/obj/evas_model_load_obj.c | |||
@@ -224,11 +224,11 @@ evas_model_load_file_obj(Evas_3D_Mesh *mesh, Eina_File *file) | |||
224 | Eina_Bool will_check_next_char = EINA_FALSE; | 224 | Eina_Bool will_check_next_char = EINA_FALSE; |
225 | Eina_Bool first_char_is_v = EINA_FALSE; | 225 | Eina_Bool first_char_is_v = EINA_FALSE; |
226 | Eina_Bool first_char_is_f = EINA_FALSE; | 226 | Eina_Bool first_char_is_f = EINA_FALSE; |
227 | float *pos, *nor, *tex; | 227 | float *pos = NULL, *nor = NULL, *tex = NULL; |
228 | int stride_pos, stride_nor, stride_tex; | 228 | int stride_pos = 0, stride_nor = 0, stride_tex = 0; |
229 | int j, k, data_for_one_point; | 229 | int j, k, data_for_one_point; |
230 | char *current, *map; | 230 | char *current, *map; |
231 | float *_vertices_obj, *_normales_obj, *_tex_coords_obj; | 231 | float *_vertices_obj = NULL, *_normales_obj = NULL, *_tex_coords_obj = NULL; |
232 | int *_triangles; | 232 | int *_triangles; |
233 | 233 | ||
234 | map = eina_file_map_all(file, EINA_FILE_SEQUENTIAL); | 234 | map = eina_file_map_all(file, EINA_FILE_SEQUENTIAL); |