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>2011-03-12 17:21:04 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-03-12 17:21:04 +0300
commit460bdf1f598fa38dc88aa562f50c285e8e980d96 (patch)
tree5318e0250038616e76902248a834a9d0f19dab6e /source/blender
parent3c86933886498e0e33788c86ed76e9d181998550 (diff)
tag/comment unused variables.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenkernel/intern/particle_system.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/particle_system.c b/source/blender/blenkernel/intern/particle_system.c
index 55d34f19cdc..56291ad753c 100644
--- a/source/blender/blenkernel/intern/particle_system.c
+++ b/source/blender/blenkernel/intern/particle_system.c
@@ -2333,7 +2333,7 @@ static void sph_density_accum_cb(void *userdata, int index, float squared_dist)
pfr->density += q*q;
pfr->near_density += q*q*q;
}
-static void sph_force_cb(void *sphdata_v, ParticleKey *state, float *force, float *impulse)
+static void sph_force_cb(void *sphdata_v, ParticleKey *state, float *force, float *UNUSED(impulse))
{
SPHData *sphdata = (SPHData *)sphdata_v;
ParticleSystem **psys = sphdata->psys;
@@ -2452,10 +2452,10 @@ static void sph_integrate(ParticleSimulationData *sim, ParticleData *pa, float d
int i;
ParticleSettings *part = sim->psys->part;
- float timestep = psys_get_timestep(sim);
+ // float timestep = psys_get_timestep(sim); // UNUSED
float pa_mass = part->mass * (part->flag & PART_SIZEMASS ? pa->size : 1.f);
float dtime = dfra*psys_get_timestep(sim);
- int steps = 1;
+ // int steps = 1; // UNUSED
float effector_acceleration[3];
SPHData sphdata;