summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2015-10-14 20:47:46 +0530
committerNicolas Aguirre <aguirre.nicolas@gmail.com>2015-11-12 10:15:03 +0100
commit7a66c5e855f748f280e073c78280d3e111a72463 (patch)
tree184dce5e2692a2e81d357d9a1f260aeed20fc764
parent41b019ec59556e55e188829d62708e258b6b5566 (diff)
example: genlist - intialize buffer array to 0
CID: 1327347
-rw-r--r--src/examples/genlist_example_05.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/genlist_example_05.c b/src/examples/genlist_example_05.c
index e15da749d..48fe58922 100644
--- a/src/examples/genlist_example_05.c
+++ b/src/examples/genlist_example_05.c
@@ -75,7 +75,7 @@ _parent_content_get(void *data, Evas_Object *obj, const char *part)
75static char * 75static char *
76_favorite_label_get(void *data, Evas_Object *obj, const char *part) 76_favorite_label_get(void *data, Evas_Object *obj, const char *part)
77{ 77{
78 char buf[256]; 78 char buf[256] = {0};
79 Node_Data *d = data; 79 Node_Data *d = data;
80 80
81 if (!strcmp(part, "elm.text")) 81 if (!strcmp(part, "elm.text"))