ecore_wl: removes unreachable statements
Summary: this patch removes unreachable statements Reviewers: Hermet Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11437
This commit is contained in:
parent
f6de7c244a
commit
34477e1cbe
|
@ -410,7 +410,6 @@ ecore_wl_dnd_drag_types_set(Ecore_Wl_Input *input, const char **types_offered)
|
|||
/* add these types to the data source */
|
||||
for (type = types_offered; *type; type++)
|
||||
{
|
||||
if (!*type) continue;
|
||||
t = wl_array_add(&input->data_types, sizeof(*t));
|
||||
if (t)
|
||||
{
|
||||
|
|
|
@ -453,7 +453,6 @@ ecore_wl2_dnd_drag_types_set(Ecore_Wl2_Input *input, const char **types)
|
|||
|
||||
for (type = types; *type; type++)
|
||||
{
|
||||
if (!*type) continue;
|
||||
t = wl_array_add(&input->data.drag.types, sizeof(*t));
|
||||
if (t)
|
||||
{
|
||||
|
@ -579,7 +578,6 @@ ecore_wl2_dnd_selection_set(Ecore_Wl2_Input *input, const char **types)
|
|||
|
||||
for (type = types; *type; type++)
|
||||
{
|
||||
if (!*type) continue;
|
||||
t = wl_array_add(&input->data.selection.types, sizeof(*t));
|
||||
if (t)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue