diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-04-28 19:37:18 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-04-28 19:37:18 +0400 |
commit | 608dc78241c98341c8fb4cab12d73f148adf0471 (patch) | |
tree | 6b8897d8a1859565e6ed5e19ad40916c29ecddc9 /source/blender/blenkernel/intern/seqeffects.c | |
parent | 428debd9c8af81ed5870c70466d46a60646f49e3 (diff) |
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.
Diffstat (limited to 'source/blender/blenkernel/intern/seqeffects.c')
-rw-r--r-- | source/blender/blenkernel/intern/seqeffects.c | 7 |
1 files changed, 4 insertions, 3 deletions
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--) { |