From 608dc78241c98341c8fb4cab12d73f148adf0471 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 28 Apr 2013 15:37:18 +0000 Subject: warning cleanup: assignment to unused vars, r56359 changes how brush falloff is used slightly but this isn't so important so just remove falloff adjustment. --- source/blender/blenkernel/intern/seqeffects.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'source/blender/blenkernel/intern/seqeffects.c') diff --git a/source/blender/blenkernel/intern/seqeffects.c b/source/blender/blenkernel/intern/seqeffects.c index 445dfc6efd3..7b3f18c1bd4 100644 --- a/source/blender/blenkernel/intern/seqeffects.c +++ b/source/blender/blenkernel/intern/seqeffects.c @@ -974,10 +974,10 @@ static void do_sub_effect_byte(float facf0, float facf1, int x, int y, unsigned } } -static void do_sub_effect_float(float facf0, float facf1, int x, int y, float *rect1, float *rect2, float *out) +static void do_sub_effect_float(float UNUSED(facf0), float facf1, int x, int y, float *rect1, float *rect2, float *out) { int xo; - float m, fac1, fac3; + float m /*, fac1*/, fac3; float *rt1, *rt2, *rt; xo = x; @@ -985,7 +985,8 @@ static void do_sub_effect_float(float facf0, float facf1, int x, int y, float *r rt2 = rect2; rt = out; - fac1 = facf0; + /* UNUSED */ + // fac1 = facf0; fac3 = facf1; while (y--) { -- cgit v1.2.3