raster pushed a commit to branch master.

http://git.enlightenment.org/apps/rage.git/commit/?id=027be78ac7659746d41cc98229a4100bb86c01d6

commit 027be78ac7659746d41cc98229a4100bb86c01d6
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Sun Apr 26 12:17:21 2015 +0900

    remove unused var assignment in dnd string parser
    
    fixes CID 61905
---
 src/bin/dnd.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/bin/dnd.c b/src/bin/dnd.c
index e0dc653..f6b2eaf 100644
--- a/src/bin/dnd.c
+++ b/src/bin/dnd.c
@@ -103,7 +103,7 @@ _cb_drop(void *data, Evas_Object *o EINA_UNUSED, 
Elm_Selection_Data *ev)
    if (strchr(ev->data, '\n'))
      {
         char *p, *p2, *p3, *tb, *tt;
-        
+
         tb = malloc(strlen(ev->data) + 1);
         if (tb)
           {
@@ -115,7 +115,6 @@ _cb_drop(void *data, Evas_Object *o EINA_UNUSED, 
Elm_Selection_Data *ev)
                     {
                        if (p3 < p2) p2 = p3;
                     }
-                  else if (!p2) p3 = p2;
                   if (p2)
                     {
                        strncpy(tb, p, p2 - p);

-- 


Reply via email to