diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-06-03 14:33:28 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-06-03 14:33:28 +0400 |
commit | 20e49e7177cbc10e3a4b45e6c32d5a3e447a935b (patch) | |
tree | c850dc32da610910ccfe6e719f6f25d7dbaf84fc /source/blender | |
parent | 85b34cfcdebdcd1da8c8cce8503fea916d04b3cc (diff) |
quiet warnings
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_vertex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_vertex.c b/source/blender/editors/sculpt_paint/paint_vertex.c index 88cf9b1b0dd..eb79989b90b 100644 --- a/source/blender/editors/sculpt_paint/paint_vertex.c +++ b/source/blender/editors/sculpt_paint/paint_vertex.c @@ -1877,7 +1877,7 @@ static void do_weight_paint_vertex( /* use locks and/or multipaint */ float oldw; float neww; - float testw = 0; + /* float testw = 0; */ /* UNUSED */ float observedChange = 0; float change = 0; float oldChange = 0; @@ -1912,7 +1912,7 @@ static void do_weight_paint_vertex( if (change && tdw_prev->weight && tdw_prev->weight * change) { if (tdw->weight != tdw_prev->weight) { oldChange = tdw->weight / tdw_prev->weight; - testw = tdw_prev->weight * change; + /* testw = tdw_prev->weight * change; */ /* UNUSED */ if (observedChange > 0) { if (change > oldChange) { /* reset the weights and use the new change */ |