diff options
author | Wonki Kim <wonki_.kim@samsung.com> | 2020-03-02 18:26:39 +0900 |
---|---|---|
committer | Hermet Park <chuneon.park@samsung.com> | 2020-03-02 18:26:39 +0900 |
commit | 34477e1cbef63d0369462847ffe9a66659cbb929 (patch) | |
tree | 4f090522f3ac0c3db107b43159de1676bb7a86cb | |
parent | f6de7c244a3a593e5790079c425614e47406eab8 (diff) |
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
-rw-r--r-- | src/lib/ecore_wayland/ecore_wl_dnd.c | 1 | ||||
-rw-r--r-- | src/lib/ecore_wl2/ecore_wl2_dnd.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl_dnd.c b/src/lib/ecore_wayland/ecore_wl_dnd.c index 35760f849d..09f6c9c9a9 100644 --- a/src/lib/ecore_wayland/ecore_wl_dnd.c +++ b/src/lib/ecore_wayland/ecore_wl_dnd.c | |||
@@ -410,7 +410,6 @@ ecore_wl_dnd_drag_types_set(Ecore_Wl_Input *input, const char **types_offered) | |||
410 | /* add these types to the data source */ | 410 | /* add these types to the data source */ |
411 | for (type = types_offered; *type; type++) | 411 | for (type = types_offered; *type; type++) |
412 | { | 412 | { |
413 | if (!*type) continue; | ||
414 | t = wl_array_add(&input->data_types, sizeof(*t)); | 413 | t = wl_array_add(&input->data_types, sizeof(*t)); |
415 | if (t) | 414 | if (t) |
416 | { | 415 | { |
diff --git a/src/lib/ecore_wl2/ecore_wl2_dnd.c b/src/lib/ecore_wl2/ecore_wl2_dnd.c index fccbed468b..c9ac71fba5 100644 --- a/src/lib/ecore_wl2/ecore_wl2_dnd.c +++ b/src/lib/ecore_wl2/ecore_wl2_dnd.c | |||
@@ -453,7 +453,6 @@ ecore_wl2_dnd_drag_types_set(Ecore_Wl2_Input *input, const char **types) | |||
453 | 453 | ||
454 | for (type = types; *type; type++) | 454 | for (type = types; *type; type++) |
455 | { | 455 | { |
456 | if (!*type) continue; | ||
457 | t = wl_array_add(&input->data.drag.types, sizeof(*t)); | 456 | t = wl_array_add(&input->data.drag.types, sizeof(*t)); |
458 | if (t) | 457 | if (t) |
459 | { | 458 | { |
@@ -579,7 +578,6 @@ ecore_wl2_dnd_selection_set(Ecore_Wl2_Input *input, const char **types) | |||
579 | 578 | ||
580 | for (type = types; *type; type++) | 579 | for (type = types; *type; type++) |
581 | { | 580 | { |
582 | if (!*type) continue; | ||
583 | t = wl_array_add(&input->data.selection.types, sizeof(*t)); | 581 | t = wl_array_add(&input->data.selection.types, sizeof(*t)); |
584 | if (t) | 582 | if (t) |
585 | { | 583 | { |