Remove unused variables
This commit is contained in:
parent
dbd7618c9f
commit
85a442f8c3
@ -38,7 +38,6 @@ usage(void)
|
||||
int
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
char *end;
|
||||
long seed;
|
||||
int ch;
|
||||
|
||||
|
@ -27,8 +27,6 @@
|
||||
|
||||
#define MAX_DEGREE 1000
|
||||
|
||||
static char *argv0;
|
||||
|
||||
struct poly {
|
||||
unsigned int degree;
|
||||
double *coefs;
|
||||
@ -239,12 +237,8 @@ do_newton(int argc, char *argv[])
|
||||
int
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
struct poly p, q;
|
||||
char *end;
|
||||
unsigned int i, j, p_degree, q_degree;
|
||||
int ch, nflag;
|
||||
|
||||
argv0 = argv[0];
|
||||
nflag = 0;
|
||||
while ((ch = getopt(argc, argv, "n")) != -1)
|
||||
switch (ch) {
|
||||
|
6
julia.c
6
julia.c
@ -73,7 +73,7 @@ iterate(long double complex z, long double complex c, long double *rit)
|
||||
{
|
||||
long double complex dz = 1.0L;
|
||||
long double t;
|
||||
unsigned long ci, i;
|
||||
unsigned long i;
|
||||
|
||||
for (i = 0; i < niters && cabsl(z) < bailout; i++) {
|
||||
dz = df(z) * dz;
|
||||
@ -100,7 +100,7 @@ static long
|
||||
fast_iterate(long double complex z, long double complex c, long double *rit)
|
||||
{
|
||||
long double t;
|
||||
unsigned long ci, i;
|
||||
unsigned long i;
|
||||
|
||||
for (i = 0; i < niters && cabsl(z) < bailout; i++) {
|
||||
z = f(z) + c;
|
||||
@ -139,7 +139,6 @@ julia_main(int argc, char *argv[])
|
||||
long long it;
|
||||
long double rit;
|
||||
} *rescache;
|
||||
char *end;
|
||||
struct color color;
|
||||
long double complex crit, julia, z;
|
||||
long double julia_x = 0.0,
|
||||
@ -151,7 +150,6 @@ julia_main(int argc, char *argv[])
|
||||
displacement = 0,
|
||||
zoom = 1.0,
|
||||
light, light_x, light_y, light_z, rit, sec_h, zx, zy;
|
||||
intmax_t v;
|
||||
long long it, idx, ritnum;
|
||||
unsigned int palette_size = 720,
|
||||
width = 640,
|
||||
|
@ -83,8 +83,6 @@ int
|
||||
palette_main(int argc, char *argv[])
|
||||
{
|
||||
struct color *palette;
|
||||
char *end;
|
||||
uintmax_t v;
|
||||
unsigned int width, height;
|
||||
int ch, i, j;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user