forked from enlightenment/efl
test_genlist: remove check for array comparision against NULL
CID: 1324955
This commit is contained in:
parent
4feac51786
commit
d4729368bb
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue