seoz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=c12f2a2f63cf34ae0f15fe50c35b44cb55c4813f

commit c12f2a2f63cf34ae0f15fe50c35b44cb55c4813f
Author: Daniel Juyung Seo <seojuyu...@gmail.com>
Date:   Wed Apr 30 16:14:50 2014 +0900

    test_dnd: removed dead code.
    
    This fixes coverity CID 1210426.
---
 src/bin/test_dnd.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/bin/test_dnd.c b/src/bin/test_dnd.c
index f33e1f8..9b5c0fb 100644
--- a/src/bin/test_dnd.c
+++ b/src/bin/test_dnd.c
@@ -103,11 +103,7 @@ _drag_data_extract(char **drag_data)
      return uri;
    char *s = strstr(p, FILESEP);
    if (s)
-     {
-        p += FILESEP_LEN;
-        if (!p)
-          return uri;
-     }
+     p += FILESEP_LEN;
    s = strchr(p, '\n');
    if (s)
      {

-- 


Reply via email to