index_example_02: fix index example

Summary:
If this is not initialized, then the reuse function will be != NULL
which causes a SEGV

Reviewers: cedric, segfaultxavi, zmike, stefan_schmidt

Reviewed By: segfaultxavi

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8376
This commit is contained in:
Marcel Hollerbach 2019-03-18 12:19:16 +01:00 committed by Xavi Artigas
parent 58b8a3d163
commit d0f32d21c3
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ elm_main(int argc EINA_UNUSED,
Elm_Object_Item *gg_it;
unsigned int i;
Elm_Gengrid_Item_Class gic;
Elm_Gengrid_Item_Class gic = { 0 };
elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
elm_app_info_set(elm_main, "elementary", "images");