devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=d11c42fd2369d0dbd0db43bbb68409fafebf36dc
commit d11c42fd2369d0dbd0db43bbb68409fafebf36dc Author: Chris Michael <[email protected]> Date: Mon Jan 12 12:12:52 2015 -0500 Fix Coverity CID1261286. Identical code for different branches Signed-off-by: Chris Michael <[email protected]> --- src/bin/e_dnd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bin/e_dnd.c b/src/bin/e_dnd.c index 65dc830..d358839 100644 --- a/src/bin/e_dnd.c +++ b/src/bin/e_dnd.c @@ -1456,14 +1456,14 @@ _e_dnd_cb_event_dnd_selection(void *data __UNUSED__, int type __UNUSED__, void * for (i = 0; i < files->num_files; i++) { /* TODO: Check if hostname is in file:// uri */ - if (!strncmp(files->files[i], "file://", 7)) - l = eina_list_append(l, files->files[i]); + /* if (!strncmp(files->files[i], "file://", 7)) */ + /* l = eina_list_append(l, files->files[i]); */ /* TODO: download files else if (!strncmp(files->files[i], "http://", 7)) else if (!strncmp(files->files[i], "ftp://", 6)) */ - else - l = eina_list_append(l, files->files[i]); + /* else */ + l = eina_list_append(l, files->files[i]); } _xdnd->data = l; _e_drag_xdnd_end(ev->win, _xdnd->x, _xdnd->y); --
