Mercurial > hg > minc-tools
changeset 2428:7e6acd35cce9
Remove unused variables.
author | stever <stever> |
---|---|
date | Sat, 12 Jan 2008 23:58:21 +0000 |
parents | 8b8c79d7a377 |
children | 7a925bae8f8a |
files | testdir/icv.c testdir/icv_dim.c testdir/icv_dim1.c testdir/minc.c testdir/minc_types.c testdir/mincapi.c |
diffstat | 6 files changed, 6 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- a/testdir/icv.c +++ b/testdir/icv.c @@ -32,7 +32,7 @@ 331, 333, 335, 337, 339, 341, 343, 345, 347, 349 }; - int i, j, k, intype, inorm, outtype, imax, ival; + int i, j, k; int cflag = 0; #if MINC2
--- a/testdir/icv_dim.c +++ b/testdir/icv_dim.c @@ -34,7 +34,7 @@ 331, 333, 335, 337, 339, 341, 343, 345, 347, 349 }; - int i, j, k, intype, inorm, outtype, imax, ival; + int i, j, k; int cflag = 0; #if MINC2
--- a/testdir/icv_dim1.c +++ b/testdir/icv_dim1.c @@ -34,7 +34,7 @@ 331, 333, 335, 337, 339, 341, 343, 345, 347, 349 }; - int i, j, k, intype, inorm, outtype, imax, ival; + int i, j, k; int cflag = 0; #if MINC2
--- a/testdir/minc.c +++ b/testdir/minc.c @@ -20,18 +20,13 @@ int main() { int cdf, cdf2; - int img, img2; + int img; int dim[MAX_VAR_DIMS]; int dim2[MAX_VAR_DIMS]; long start[MAX_VAR_DIMS]; long count[MAX_VAR_DIMS]; - long start2[MAX_VAR_DIMS]; double image[256*256]; - long limage[256*256]; - int i, j, k, ioff, itype, jtype; - double attr[3]={10.54, 15.77, 18.9}; - float fval[3]; - int length; + int i, j, k, ioff; ncopts=NC_VERBOSE|NC_FATAL; cdf=micreate("test.mnc",NC_CLOBBER);
--- a/testdir/minc_types.c +++ b/testdir/minc_types.c @@ -42,8 +42,7 @@ long start[MAX_VAR_DIMS]; long count[MAX_VAR_DIMS]; double image[256*256]; - long limage[256*256]; - int i, j, k, ioff, itype, jtype; + int i, itype, jtype; int cflag = 0; #if MINC2
--- a/testdir/mincapi.c +++ b/testdir/mincapi.c @@ -734,9 +734,6 @@ main(int argc, char **argv) { int stat; - int icv; - float flt; - double dbl; struct testinfo info; milog_init("mincapi"); /* Disable error messages completely. */ @@ -796,8 +793,6 @@ { /* Some random ICV tests */ int icv; - int prop; - double dbl; int stat; int i; double min, max;