projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c4e369
)
test_genlist: Initialize internal variable.
author
Daniel Juyung Seo
<seojuyung2@gmail.com>
Sat, 12 Apr 2014 16:40:27 +0000
(
01:40
+0900)
committer
Daniel Juyung Seo
<seojuyung2@gmail.com>
Sat, 12 Apr 2014 16:40:27 +0000
(
01:40
+0900)
This fixes coverity CID
1193249
.
src/bin/test_genlist.c
patch
|
blob
|
history
diff --git
a/src/bin/test_genlist.c
b/src/bin/test_genlist.c
index 10dbd9413ada99d0128251e3ddde81a572721d7b..14186a74de1c91dbe2d0bcfc8f274ebc66cd167f 100644
(file)
--- a/
src/bin/test_genlist.c
+++ b/
src/bin/test_genlist.c
@@
-1023,7
+1023,7
@@
static Elm_Genlist_Item_Class itc5;
char *gl5_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part)
{
const Testitem *tit = data;
- char buf[256];
+ char buf[256]
= { 0 }
;
if (!strcmp(part, "elm.text"))
{
snprintf(buf, sizeof(buf), "Item mode %i", tit->mode);