summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWonki Kim <wonki_.kim@samsung.com>2020-03-02 18:26:39 +0900
committerHermet Park <chuneon.park@samsung.com>2020-03-02 18:26:39 +0900
commit34477e1cbef63d0369462847ffe9a66659cbb929 (patch)
tree4f090522f3ac0c3db107b43159de1676bb7a86cb
parentf6de7c244a3a593e5790079c425614e47406eab8 (diff)
downloadefl-34477e1cbef63d0369462847ffe9a66659cbb929.tar.gz
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.c1
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_dnd.c2
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)
/* 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)
{
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)
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)
{