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:
authorBastien Montagne <montagne29@wanadoo.fr>2011-11-13 20:38:14 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2011-11-13 20:38:14 +0400
commitb9cc1f7590a2dd4d473900d20369015f0bb80778 (patch)
tree758ac2119e9bbec2b780aebcef604ac2c1d591f7 /source/blender/blenkernel/intern/ocean.c
parentc993ee678a3438a26c263a78ade71f8013f03160 (diff)
Quiting a warning in Ocean code (commenting out var).
Diffstat (limited to 'source/blender/blenkernel/intern/ocean.c')
-rw-r--r--source/blender/blenkernel/intern/ocean.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/ocean.c b/source/blender/blenkernel/intern/ocean.c
index 76b5d37bad8..7ce8ec69845 100644
--- a/source/blender/blenkernel/intern/ocean.c
+++ b/source/blender/blenkernel/intern/ocean.c
@@ -1204,7 +1204,7 @@ void BKE_bake_ocean(struct Ocean *o, struct OceanCache *och, void (*update_cb)(v
/* add new foam */
for (y=0; y < res_y; y++) {
for (x=0; x < res_x; x++) {
- float r, pr=0.0f, foam_result;
+ float /*r,*/ /* UNUSED */ pr=0.0f, foam_result;
float neg_disp, neg_eplus;
BKE_ocean_eval_ij(o, &ocr, x, y);
@@ -1218,7 +1218,7 @@ void BKE_bake_ocean(struct Ocean *o, struct OceanCache *och, void (*update_cb)(v
if (i>0)
pr = prev_foam[res_x*y + x];
- r = BLI_frand(); // randomly reduce foam
+ /* r = BLI_frand(); */ /* UNUSED */ // randomly reduce foam
//pr = pr * och->foam_fade; // overall fade