diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/cross_read.c | 5 | ||||
-rw-r--r-- | test/enum.c | 3 | ||||
-rw-r--r-- | test/fheap.c | 4 | ||||
-rw-r--r-- | test/tarray.c | 1 | ||||
-rw-r--r-- | test/tskiplist.c | 1 |
5 files changed, 5 insertions, 9 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); } diff --git a/test/enum.c b/test/enum.c index f626f5c..02cad81 100644 --- a/test/enum.c +++ b/test/enum.c @@ -445,9 +445,8 @@ test_value_dsnt_exist(void) static int test_funcs(void) { - hid_t type=-1, cwg=-1; + hid_t type=-1; c_e1 val; - signed char val8; int size; H5T_pad_t inpad; H5T_cset_t cset; diff --git a/test/fheap.c b/test/fheap.c index f041706..64f3efb 100644 --- a/test/fheap.c +++ b/test/fheap.c @@ -10197,7 +10197,7 @@ test_abs_random_managed(hsize_t size_limit, hid_t fapl, H5HF_create_t *cparam, f H5HF_t *fh = NULL; /* Fractal heap wrapper */ haddr_t fh_addr; /* Address of fractal heap */ size_t id_len; /* Size of fractal heap IDs */ - unsigned long seed; /* Random # seed */ + unsigned long seed = 0; /* Random # seed */ size_t num_ids = 0; /* # of heap IDs in array */ size_t alloc_ids = 0; /* # of heap IDs allocated in array */ hsize_t total_obj_added; /* Size of objects added */ @@ -10354,7 +10354,7 @@ test_abs_random_pow2_managed(hsize_t size_limit, hid_t fapl, H5HF_create_t *cpar H5HF_t *fh = NULL; /* Fractal heap wrapper */ haddr_t fh_addr; /* Address of fractal heap */ size_t id_len; /* Size of fractal heap IDs */ - unsigned long seed; /* Random # seed */ + unsigned long seed = 0; /* Random # seed */ size_t num_ids = 0; /* # of heap IDs in array */ size_t alloc_ids = 0; /* # of heap IDs allocated in array */ hsize_t total_obj_added; /* Size of objects added */ diff --git a/test/tarray.c b/test/tarray.c index 50fe1a9..22fb02b 100644 --- a/test/tarray.c +++ b/test/tarray.c @@ -189,7 +189,6 @@ test_array_funcs(void) int size; H5T_pad_t inpad; H5T_norm_t norm; - H5T_sign_t sign; H5T_cset_t cset; H5T_str_t strpad; herr_t ret; /* Generic return value */ diff --git a/test/tskiplist.c b/test/tskiplist.c index c76b79c..5b54dbd 100644 --- a/test/tskiplist.c +++ b/test/tskiplist.c @@ -1175,7 +1175,6 @@ test_skiplist_remove_first(void) unsigned data[10]={ 10, 20, 15, 5, 50, 30, 31, 32, 80, 90}; unsigned sorted_data[10]={ 5, 10, 15, 20, 30, 31, 32, 50, 80, 90}; unsigned *found_item; /* Item found in skip list */ - unsigned find_item; /* Item to add to skip list */ herr_t ret; /* Generic return value */ /* Output message about test being performed */ |