Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-06-02 12:58:01 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-02 12:58:01 +0300
commitc140f11946fd920230096950e4a1f18269f1b22e (patch)
tree522ab8d1a9256de1123d72a2281af1feb8bad4f4
parent75fc1c35070e0cf247f2d2e4cffe8a6e711522ff (diff)
Cleanup: warning
-rw-r--r--source/blender/blenkernel/intern/particle_system.c7
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
}