summaryrefslogtreecommitdiffstats
path: root/test/cross_read.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/cross_read.c')
-rwxr-xr-xtest/cross_read.c5
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);
}