diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-02 12:58:01 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-02 12:58:01 +0300 |
commit | c140f11946fd920230096950e4a1f18269f1b22e (patch) | |
tree | 522ab8d1a9256de1123d72a2281af1feb8bad4f4 /source/blender/blenkernel | |
parent | 75fc1c35070e0cf247f2d2e4cffe8a6e711522ff (diff) |
Cleanup: warning
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/particle_system.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/particle_system.c b/source/blender/blenkernel/intern/particle_system.c index 6261ab0bee3..47e0994bb83 100644 --- a/source/blender/blenkernel/intern/particle_system.c +++ b/source/blender/blenkernel/intern/particle_system.c @@ -3797,8 +3797,9 @@ static void cached_step(ParticleSimulationData *sim, float cfra) } } -static void particles_fluid_step(Main *bmain, ParticleSimulationData *sim, int UNUSED(cfra), const bool use_render_params) -{ +static void particles_fluid_step( + Main *bmain, ParticleSimulationData *sim, int UNUSED(cfra), const bool use_render_params) +{ ParticleSystem *psys = sim->psys; if (psys->particles) { MEM_freeN(psys->particles); @@ -3902,7 +3903,7 @@ static void particles_fluid_step(Main *bmain, ParticleSimulationData *sim, int U } // fluid sim particles done } #else - UNUSED_VARS(use_render_params); + UNUSED_VARS(bmain, use_render_params); #endif // WITH_MOD_FLUID } |