Cleanup: warning
authorCampbell Barton <ideasman42@gmail.com>
Sat, 2 Jun 2018 09:58:01 +0000 (11:58 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 2 Jun 2018 09:58:01 +0000 (11:58 +0200)
source/blender/blenkernel/intern/particle_system.c

index 6261ab0bee31ec83653fe531d31c69ccd521bdba..47e0994bb83a561790057b661948263f92c1766d 100644 (file)
@@ -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
 }