diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-07-15 19:49:04 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-07-15 19:49:04 (GMT) |
commit | e9d6c992d638f25a461c65411678f5fac8282257 (patch) | |
tree | 5c714117d1d8997550d77997b85e5a6f8e401d13 /test/cross_read.c | |
parent | f9ac366dbd2c27c76048fe2619767943f860583b (diff) | |
download | hdf5-e9d6c992d638f25a461c65411678f5fac8282257.zip hdf5-e9d6c992d638f25a461c65411678f5fac8282257.tar.gz hdf5-e9d6c992d638f25a461c65411678f5fac8282257.tar.bz2 |
[svn-r12474]
Clean up some compiler warnings.
Tested on:
FreeBSD 4.11 (sleipnir)
Too minor to require h5committest
Diffstat (limited to 'test/cross_read.c')
-rwxr-xr-x | test/cross_read.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/cross_read.c b/test/cross_read.c index d24ffa9..bc41bb3 100755 --- a/test/cross_read.c +++ b/test/cross_read.c @@ -43,8 +43,7 @@ static int read_data(char *fname) hid_t dt; double data_in[NX][NY]; /* input buffer */ double data_out[NX][NY]; /* output buffer */ - int i, j, rank; - herr_t status; + int i, j; unsigned nerrors = 0; pathname[0] = '\0'; @@ -153,7 +152,7 @@ int main(void) nerrors += read_data(filename); if (nerrors) { - printf("***** %lu FAILURE%s! *****\n", + printf("***** %u FAILURE%s! *****\n", nerrors, 1==nerrors?"":"S"); HDexit(1); } |