aboutsummaryrefslogtreecommitdiff
path: root/src/gen_cheb.c
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2015-05-29 23:55:06 -0400
committerElliott Sales de Andrade <quantum.analyst@gmail.com>2015-05-30 21:12:51 -0400
commit4658f892823f367920b4a636496fe8537331b834 (patch)
treee2843bc0ccc42e95026c6e27f2fba328cddbd336 /src/gen_cheb.c
parent3a84f039c4e7e91c8aecec790b948cb9b4c7f955 (diff)
downloadPROJ-4658f892823f367920b4a636496fe8537331b834.tar.gz
PROJ-4658f892823f367920b4a636496fe8537331b834.zip
Remove unused variables.
Diffstat (limited to 'src/gen_cheb.c')
-rw-r--r--src/gen_cheb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gen_cheb.c b/src/gen_cheb.c
index 82cd926a..f06a7449 100644
--- a/src/gen_cheb.c
+++ b/src/gen_cheb.c
@@ -10,7 +10,7 @@
#endif
void
gen_cheb(int inverse, projUV (*proj)(projUV), char *s, PJ *P, int iargc, char **iargv) {
- int NU = 15, NV = 15, i, res = -1, errin = 0, pwr;
+ int NU = 15, NV = 15, res = -1, errin = 0, pwr;
char *arg, fmt[15];
projUV low, upp, resid;
Tseries *F;
@@ -33,7 +33,7 @@ gen_cheb(int inverse, projUV (*proj)(projUV), char *s, PJ *P, int iargc, char **
if (iargc > 0) { /* proj execution audit trail */
int n = 0, L;
- for( i = 0 ; iargc ; --iargc) {
+ for ( ; iargc ; --iargc) {
arg = *iargv++;
if (*arg != '+') {
if (!n) { putchar('#'); ++n; }