diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-01-16 08:25:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-01-16 08:25:12 +0300 |
commit | ef9e278b673333f6f26110afbd383774db7d1dce (patch) | |
tree | c76730263c460a6b066d3c874446345b47e8cd74 /source/blender | |
parent | 967ac9b6e697bf561b764f2ae081f995f1fd2290 (diff) |
Cleanup: unused warnings
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/physics/physics_fluid.c | 2 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_fluid.c | 2 |
2 files changed, 3 insertions, 1 deletions
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) { |