[gimp] selection-to-path: Remove dead assignments (and variable)



commit 5643bd510411c1e0f8738be61891d4b71cd4446c
Author: Mukund Sivaraman <muks banu com>
Date:   Mon Oct 3 13:18:39 2011 +0530

    selection-to-path: Remove dead assignments (and variable)

 plug-ins/selection-to-path/pxl-outline.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/plug-ins/selection-to-path/pxl-outline.c b/plug-ins/selection-to-path/pxl-outline.c
index 13d3956..f6d1358 100644
--- a/plug-ins/selection-to-path/pxl-outline.c
+++ b/plug-ins/selection-to-path/pxl-outline.c
@@ -224,7 +224,6 @@ static void
 append_coordinate (pixel_outline_type *o, int x, int y, edge_type edge)
 {
   coordinate_type c;
-  char * str;
 
   c.x = x;
   c.y = y;
@@ -233,22 +232,18 @@ append_coordinate (pixel_outline_type *o, int x, int y, edge_type edge)
     {
     case top:
       c.y++;
-      str = "top";
       break;
 
     case right:
       c.x++;
       c.y++;
-      str = "right";
       break;
 
     case bottom:
       c.x++;
-      str = "bottom";
       break;
 
     case left:
-      str = "left";
       break;
 
     default:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]