Fix Coverity CID1261286. Identical code for different branches
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
13ed310a4d
commit
d11c42fd23
|
@ -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++)
|
for (i = 0; i < files->num_files; i++)
|
||||||
{
|
{
|
||||||
/* TODO: Check if hostname is in file:// uri */
|
/* TODO: Check if hostname is in file:// uri */
|
||||||
if (!strncmp(files->files[i], "file://", 7))
|
/* if (!strncmp(files->files[i], "file://", 7)) */
|
||||||
l = eina_list_append(l, files->files[i]);
|
/* l = eina_list_append(l, files->files[i]); */
|
||||||
/* TODO: download files
|
/* TODO: download files
|
||||||
else if (!strncmp(files->files[i], "http://", 7))
|
else if (!strncmp(files->files[i], "http://", 7))
|
||||||
else if (!strncmp(files->files[i], "ftp://", 6))
|
else if (!strncmp(files->files[i], "ftp://", 6))
|
||||||
*/
|
*/
|
||||||
else
|
/* else */
|
||||||
l = eina_list_append(l, files->files[i]);
|
l = eina_list_append(l, files->files[i]);
|
||||||
}
|
}
|
||||||
_xdnd->data = l;
|
_xdnd->data = l;
|
||||||
_e_drag_xdnd_end(ev->win, _xdnd->x, _xdnd->y);
|
_e_drag_xdnd_end(ev->win, _xdnd->x, _xdnd->y);
|
||||||
|
|
Loading…
Reference in New Issue