Cleanup: warnings

This commit is contained in:
Campbell Barton 2021-08-26 12:36:13 +10:00
parent 84f048fda5
commit 4e16e8b671
2 changed files with 3 additions and 2 deletions

View File

@ -547,6 +547,7 @@ void BlenderSync::sync_procedural(BL::Object &b_ob,
#else
(void)b_ob;
(void)b_mesh_cache;
(void)has_subdivision_modifier;
#endif
}

View File

@ -304,8 +304,8 @@ typedef struct MeshBatchCache {
MBC_EDITUV_EDGES | MBC_EDITUV_VERTS | MBC_EDITUV_FACEDOTS | MBC_WIRE_LOOPS_UVS)
void mesh_buffer_cache_create_requested(struct TaskGraph *task_graph,
MeshBatchCache *mbc,
MeshBufferCache *extraction_cache,
MeshBatchCache *cache,
MeshBufferCache *mbc,
Mesh *me,
const bool is_editmode,
const bool is_paint_mode,