[Bf-blender-cvs] [ef9e278b673] blender-v2.82-release: Cleanup: unused warnings
Campbell Barton
noreply at git.blender.org
Thu Jan 16 06:43:51 CET 2020
Commit: ef9e278b673333f6f26110afbd383774db7d1dce
Author: Campbell Barton
Date: Thu Jan 16 16:25:12 2020 +1100
Branches: blender-v2.82-release
https://developer.blender.org/rBef9e278b673333f6f26110afbd383774db7d1dce
Cleanup: unused warnings
===================================================================
M source/blender/editors/physics/physics_fluid.c
M source/blender/makesrna/intern/rna_fluid.c
===================================================================
diff --git a/source/blender/editors/physics/physics_fluid.c b/source/blender/editors/physics/physics_fluid.c
index 64dd461fb4e..8fa72d554be 100644
--- a/source/blender/editors/physics/physics_fluid.c
+++ b/source/blender/editors/physics/physics_fluid.c
@@ -506,6 +506,8 @@ static void fluid_free_startjob(void *customdata, short *stop, short *do_update,
}
#ifdef WITH_FLUID
BKE_fluid_cache_free(mds, job->ob, cache_map);
+#else
+ UNUSED_VARS(mds);
#endif
*do_update = true;
diff --git a/source/blender/makesrna/intern/rna_fluid.c b/source/blender/makesrna/intern/rna_fluid.c
index a6625ebf552..b84da6a4ed9 100644
--- a/source/blender/makesrna/intern/rna_fluid.c
+++ b/source/blender/makesrna/intern/rna_fluid.c
@@ -73,7 +73,7 @@ static void rna_Fluid_dependency_update(Main *bmain, Scene *scene, PointerRNA *p
DEG_relations_tag_update(bmain);
}
-static void rna_Fluid_resetCache(Main *UNUSED(bmain), Scene *scene, PointerRNA *ptr)
+static void rna_Fluid_resetCache(Main *UNUSED(bmain), Scene *UNUSED(scene), PointerRNA *ptr)
{
FluidDomainSettings *settings = (FluidDomainSettings *)ptr->data;
if (settings->mmd && settings->mmd->domain) {
More information about the Bf-blender-cvs
mailing list