ami pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=0bad0c98bc344eef90c4912c6a02b95a86e93d35

commit 0bad0c98bc344eef90c4912c6a02b95a86e93d35
Author: Amitesh Singh <amitesh...@samsung.com>
Date:   Fri Oct 2 00:26:16 2015 +0530

    test_genlist: remove check for array comparision against NULL
    
    CID: 1324955
---
 src/bin/test_genlist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/test_genlist.c b/src/bin/test_genlist.c
index 0ecd43b..3f686a1 100644
--- 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;

-- 


Reply via email to