Cleanup: unused args
This commit is contained in:
@@ -96,5 +96,7 @@ void BKE_subdiv_free(Subdiv *subdiv)
|
||||
openSubdiv_deleteTopologyRefiner(subdiv->topology_refiner);
|
||||
}
|
||||
MEM_freeN(subdiv);
|
||||
#else
|
||||
UNUSED_VARS(subdiv);
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -2055,6 +2055,9 @@ static short snapEditMesh(
|
||||
BVHTreeFromEditMesh *treedata_vert = NULL, *treedata_edge = NULL;
|
||||
Object *em_ob = em->ob;
|
||||
|
||||
BLI_assert(em_ob->data == ob->data);
|
||||
UNUSED_VARS_NDEBUG(ob);
|
||||
|
||||
void **sod_p;
|
||||
/* Use `em->ob` as the key in ghash since the editmesh is used
|
||||
* to create bvhtree and is the same for each linked object. */
|
||||
|
||||
Reference in New Issue
Block a user