[gimp/metadata-browser] app: Remove redundant assignments



commit ad58314202a45a777456cc28a0792fec1f687135
Author: Mukund Sivaraman <muks banu com>
Date:   Mon Oct 3 13:29:02 2011 +0530

    app: Remove redundant assignments

 app/base/boundary.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/app/base/boundary.c b/app/base/boundary.c
index 52d47d6..182d123 100644
--- a/app/base/boundary.c
+++ b/app/base/boundary.c
@@ -938,7 +938,6 @@ simplify_subdivide (const BoundSeg *segs,
     }
 
   maxdist = 0;
-  maxdist_idx = -1;
 
   if (segs[start_idx].x1 == segs[end_idx].x1 &&
       segs[start_idx].y1 == segs[end_idx].y1)
@@ -953,7 +952,6 @@ simplify_subdivide (const BoundSeg *segs,
           if (dist > maxdist)
             {
               maxdist = dist;
-              maxdist_idx = i;
             }
         }
 
@@ -977,7 +975,6 @@ simplify_subdivide (const BoundSeg *segs,
           if (dist > maxdist)
             {
               maxdist = dist;
-              maxdist_idx = i;
             }
         }
 



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