Cleanup: unused argument warning

This commit is contained in:
Campbell Barton 2022-08-19 13:41:49 +10:00
parent 0491ba09c2
commit 97f9015ed0
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ static void rna_Fluid_parts_create(Main *bmain,
static void rna_Fluid_parts_delete(Main *bmain, PointerRNA *ptr, int ptype)
{
# ifndef WITH_FLUID
UNUSED_VARS(ptr, ptype);
UNUSED_VARS(bmain, ptr, ptype);
# else
Object *ob = (Object *)ptr->owner_id;
BKE_fluid_particle_system_destroy(ob, ptype);