diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-09-14 11:26:45 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-09-14 11:27:31 +0400 |
commit | 432d274990d46f54d2d27cb0a8a351ecd2de4491 (patch) | |
tree | 08f260bae583a369b6b47e96f6753af90e3d16ac /source/blender/blenlib/intern/polyfill2d.c | |
parent | 1c9b80320f9fb203f8f7c71814c5e5efa80e28f3 (diff) |
Cleanup & typo in assignment
Diffstat (limited to 'source/blender/blenlib/intern/polyfill2d.c')
-rw-r--r-- | source/blender/blenlib/intern/polyfill2d.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/source/blender/blenlib/intern/polyfill2d.c b/source/blender/blenlib/intern/polyfill2d.c index dd829e5d80a..40390b0e173 100644 --- a/source/blender/blenlib/intern/polyfill2d.c +++ b/source/blender/blenlib/intern/polyfill2d.c @@ -661,12 +661,12 @@ static PolyIndex *pf_ear_tip_find( static bool pf_ear_tip_check(PolyFill *pf, PolyIndex *pi_ear_tip) { - /* localize */ - PolyIndex *pi_curr; - const float (*coords)[2] = pf->coords; - #ifndef USE_KDTREE const float *v1, *v2, *v3; +#else + /* localize */ + const float (*coords)[2] = pf->coords; + PolyIndex *pi_curr; #endif #if defined(USE_CONVEX_SKIP) && !defined(USE_KDTREE) @@ -711,8 +711,6 @@ static bool pf_ear_tip_check(PolyFill *pf, PolyIndex *pi_ear_tip) return false; } } - (void)pi_curr; - (void)coords; #else v1 = coords[pi_ear_tip->prev->index]; |