From dbc44a2d45153760ee710f4ebcbd09f9ac196fea Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Fri, 13 Feb 2015 18:19:58 +0100 Subject: Remove unused variables, fix compiler warnings --- variations.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'variations.c') diff --git a/variations.c b/variations.c index 7c9d8c3..fe4f6b9 100644 --- a/variations.c +++ b/variations.c @@ -1824,9 +1824,6 @@ static double2 var97_flux (const double2 in, const flam3_iter_helper * const f, double avgr = weight * (2 + f->xform->flux_spread) * sqrt( sqrt(in[1]*in[1] + xpw*xpw) / sqrt(in[1]*in[1] + xmw*xmw)); double avga = ( atan2(in[1], xmw) - atan2(in[1],xpw) ) * 0.5; - double s = sin(avga); - double c = cos(avga); - return avgr * (double2) { cos(avga), sin(avga) }; } @@ -2046,7 +2043,7 @@ int apply_xform(flam3_genome *cp, int fn, const double4 p, double4 *q_ret, randc { flam3_iter_helper f; int var_n; - double next_color,s,s1; + double s1; double weight; f.rc = rc; -- cgit v1.2.3