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:
b9d3159
)
test_genlist: remove check for array comparision against NULL
author
Amitesh Singh
<amitesh.sh@samsung.com>
Thu, 1 Oct 2015 18:56:16 +0000
(
00:26
+0530)
committer
Amitesh Singh
<amitesh.sh@samsung.com>
Thu, 1 Oct 2015 18:56:16 +0000
(
00:26
+0530)
CID:
1324955
src/bin/test_genlist.c
patch
|
blob
|
history
diff --git
a/src/bin/test_genlist.c
b/src/bin/test_genlist.c
index 0ecd43b9abe2b1394f13553923791c339ca5fefc..3f686a1443250002d9a9aa2319916aaa918722aa 100644
(file)
--- a/
src/bin/test_genlist.c
+++ b/
src/bin/test_genlist.c
@@
-4888,7
+4888,7
@@
_entry_change_cb(void *data, Evas_Object *obj, void *event EINA_UNUSED)
sprintf(buf, "%s", elm_object_text_get(obj));
api->filter_data = strdup(buf);
elm_genlist_filter_set(api->gl, (void *)(api->filter_data));
- if (
buf == NULL ||
!strlen(buf))
+ if (!strlen(buf))
{
printf("Input data string empty; returning\n");
return;