[Bf-blender-cvs] [b4147aeeab7] master: Cleanup: unused variable

Jacques Lucke noreply at git.blender.org
Mon Feb 22 10:29:41 CET 2021


Commit: b4147aeeab7d34552a7b7bfe45a9d03217bcdc33
Author: Jacques Lucke
Date:   Mon Feb 22 10:29:34 2021 +0100
Branches: master
https://developer.blender.org/rBb4147aeeab7d34552a7b7bfe45a9d03217bcdc33

Cleanup: unused variable

===================================================================

M	source/blender/blenlib/intern/mesh_boolean.cc

===================================================================

diff --git a/source/blender/blenlib/intern/mesh_boolean.cc b/source/blender/blenlib/intern/mesh_boolean.cc
index defcb414c86..fffa37b935b 100644
--- a/source/blender/blenlib/intern/mesh_boolean.cc
+++ b/source/blender/blenlib/intern/mesh_boolean.cc
@@ -2618,6 +2618,7 @@ static int orig_edge_for_cdt_edge(const CDT_result<mpq_class> &cdt_out,
       int b = cdt_e_orig % cdt_out.face_edge_offset;
       /* It is the bth position within cdt input face a - 1. There is only one face, f. */
       BLI_assert(a == 1);
+      UNUSED_VARS_NDEBUG(a);
       BLI_assert(b < f->size());
       return f->edge_orig[b];
     }



More information about the Bf-blender-cvs mailing list