diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-03-16 12:57:19 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2022-03-18 14:07:08 +0300 |
commit | c3ecfdf40b02f7d12775f1ded2f039d40f1470bb (patch) | |
tree | 1819bfb4c77444a82adfc79a7dbbfd5f2679e62e /source/blender/blenlib | |
parent | 2252bc6a5527cd7360d1ccfe7a2d1bc640a8dfa6 (diff) |
Cleanup: Compilation warnings
Mainly -Wset-but-unused-variable.
Makes default compilation on macOS way less noisy.
Differential Revision: https://developer.blender.org/D14357
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/intern/delaunay_2d.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/delaunay_2d.cc b/source/blender/blenlib/intern/delaunay_2d.cc index 4a02072e770..e6164c98402 100644 --- a/source/blender/blenlib/intern/delaunay_2d.cc +++ b/source/blender/blenlib/intern/delaunay_2d.cc @@ -2202,7 +2202,6 @@ void add_face_constraints(CDT_state<T> *cdt_state, { int nv = input.vert.size(); int nf = input.face.size(); - int fstart = 0; SymEdge<T> *face_symedge0 = nullptr; CDTArrangement<T> *cdt = &cdt_state->cdt; int maxflen = 0; @@ -2221,7 +2220,6 @@ void add_face_constraints(CDT_state<T> *cdt_state, int flen = input.face[f].size(); if (flen <= 2) { /* Ignore faces with fewer than 3 vertices. */ - fstart += flen; continue; } int fedge_start = (f + 1) * cdt_state->face_edge_offset; @@ -2266,7 +2264,6 @@ void add_face_constraints(CDT_state<T> *cdt_state, add_face_ids(cdt_state, face_symedge0, f, fedge_start, fedge_end); } } - fstart += flen; } } |