Physics: Code cleanup, prepare for strict C++ flags

This commit is contained in:
Sergey Sharybin 2015-03-27 15:53:56 +05:00
parent 052ebd6564
commit 061e73a270
1 changed files with 1 additions and 1 deletions

View File

@ -594,7 +594,7 @@ BLI_INLINE float hair_volume_density_divergence(float density, float target_dens
return 0.0f;
}
bool BPH_hair_volume_solve_divergence(HairGrid *grid, float dt, float target_density, float target_strength)
bool BPH_hair_volume_solve_divergence(HairGrid *grid, float /*dt*/, float target_density, float target_strength)
{
const float flowfac = grid->cellsize;
const float inv_flowfac = 1.0f / grid->cellsize;