diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-01-15 00:06:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-01-15 00:06:28 +0300 |
commit | eac31a2eceb6601967484301c5f25b7a138f623b (patch) | |
tree | b70d5c1eced98e472d0c204ca3a126424a2ec57d /source/blender/editors/uvedit | |
parent | 94b9d2da547d88d5ca904351c04f5b00a6c0b278 (diff) |
remove unused vars & avoid some clang warnings.
Diffstat (limited to 'source/blender/editors/uvedit')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_parametrizer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/uvedit/uvedit_parametrizer.c b/source/blender/editors/uvedit/uvedit_parametrizer.c index f812de692e2..3f27ee52034 100644 --- a/source/blender/editors/uvedit/uvedit_parametrizer.c +++ b/source/blender/editors/uvedit/uvedit_parametrizer.c @@ -3736,7 +3736,7 @@ static void p_smooth(PChart *chart) int j, it2, maxiter2, it; int nedges = chart->nedges, nwheel, gridx, gridy; int edgesx, edgesy, nsize, esize, i, x, y, maxiter, totiter; - float minv[2], maxv[2], median, invmedian, distortion, avglen2d, avglen3d; + float minv[2], maxv[2], median, invmedian, avglen2d, avglen3d; float center[2], dx, dy, *nodes, dlimit, d, *oldnodesx, *oldnodesy; float *nodesx, *nodesy, *hedges, *vedges, climit, moved, padding; SmoothTriangle *triangles, *t, *t2, **tri, **trip; @@ -3755,7 +3755,6 @@ static void p_smooth(PChart *chart) invmedian = 1.0/median; /* compute edge distortion */ - distortion = 0.0; avglen2d = avglen3d = 0.0; for (e=chart->edges; e; e=e->nextlink) { |