Cleanup: unused args

This commit is contained in:
Campbell Barton
2018-07-26 19:51:56 +10:00
parent 2499ee64a1
commit 4d83759f6a
2 changed files with 5 additions and 0 deletions

View File

@@ -96,5 +96,7 @@ void BKE_subdiv_free(Subdiv *subdiv)
openSubdiv_deleteTopologyRefiner(subdiv->topology_refiner);
}
MEM_freeN(subdiv);
#else
UNUSED_VARS(subdiv);
#endif
}

View File

@@ -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. */