From d4729368bb42a6fa2e1923265c121c0b4504e4f9 Mon Sep 17 00:00:00 2001 From: Amitesh Singh Date: Fri, 2 Oct 2015 00:26:16 +0530 Subject: [PATCH] test_genlist: remove check for array comparision against NULL CID: 1324955 --- legacy/elementary/src/bin/test_genlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/elementary/src/bin/test_genlist.c b/legacy/elementary/src/bin/test_genlist.c index 0ecd43b9ab..3f686a1443 100644 --- a/legacy/elementary/src/bin/test_genlist.c +++ b/legacy/elementary/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;