efl/boolean_model: remove misleading null check

Summary:
this is always a pointer to a stack variable

CID 1405799

Reviewers: cedric

Reviewed By: cedric

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10444
This commit is contained in:
Mike Blumenkrantz 2019-10-18 13:29:26 -04:00
parent 7b93d492d6
commit 9ea26fd88f
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ _storage_lookup(Efl_Boolean_Model_Data *pd,
lookup->offset = v->last ? v->last->offset + v->last->length + 1 : 0;
lookup->length = sizeof (lookup->buffer) * 8; // Number of bits in the buffer
// Initialize the buffer to the right default value
if (default_value) memset(&lookup->buffer[0], *default_value, sizeof (lookup->buffer));
memset(&lookup->buffer[0], *default_value, sizeof (lookup->buffer));
v->buffers_root = eina_rbtree_inline_insert(v->buffers_root, EINA_RBTREE_GET(lookup),
EINA_RBTREE_CMP_NODE_CB(_storage_range_cmp), NULL);