summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2015-10-14 20:42:39 +0530
committerNicolas Aguirre <aguirre.nicolas@gmail.com>2015-11-12 10:15:03 +0100
commit41b019ec59556e55e188829d62708e258b6b5566 (patch)
tree494d0e1a0be916936e19191a12c393fa5b08b9e0
parentef98575fa3336139d448802e44b424b3dc555b08 (diff)
example: genlist - intialize buffer array to 0
CID: 1327346
-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 d36503cbc..e15da749d 100644
--- a/src/examples/genlist_example_05.c
+++ b/src/examples/genlist_example_05.c
@@ -20,7 +20,7 @@ static int nitems = 0;
20static char * 20static char *
21_item_label_get(void *data, Evas_Object *obj, const char *part) 21_item_label_get(void *data, Evas_Object *obj, const char *part)
22{ 22{
23 char buf[256]; 23 char buf[256] = {0};
24 Node_Data *d = data; 24 Node_Data *d = data;
25 25
26 if (!strcmp(part, "elm.text")) 26 if (!strcmp(part, "elm.text"))