diff options
-rw-r--r-- | src/H5FD.c | 2 | ||||
-rw-r--r-- | src/H5FDcore.c | 1 | ||||
-rw-r--r-- | src/H5FDmpio.c | 2 | ||||
-rw-r--r-- | src/H5FDstdio.c | 3 |
4 files changed, 5 insertions, 3 deletions
@@ -1800,7 +1800,7 @@ H5FD_free(H5FD_t *file, H5FD_mem_t type, haddr_t addr, hsize_t size) /* Block to free is in the middle of the accumulator */ if(H5F_addr_lt(addr,file->accum_loc+file->accum_size)) { haddr_t tail_addr; - hsize_t tail_size; + size_t tail_size; /* Calculate the address & size of the tail to write */ tail_addr=addr+size; diff --git a/src/H5FDcore.c b/src/H5FDcore.c index cea3834..d062835 100644 --- a/src/H5FDcore.c +++ b/src/H5FDcore.c @@ -85,7 +85,6 @@ static haddr_t H5FD_core_get_eoa(H5FD_t *_file); static herr_t H5FD_core_set_eoa(H5FD_t *_file, haddr_t addr); static haddr_t H5FD_core_get_eof(H5FD_t *_file); static herr_t H5FD_core_get_handle(H5FD_t *_file, hid_t fapl, void** file_handle); -static H5F_close_degree_t H5FD_core_get_fc_degree(H5FD_t *_file); static herr_t H5FD_core_read(H5FD_t *_file, H5FD_mem_t type, hid_t fapl_id, haddr_t addr, size_t size, void *buf); static herr_t H5FD_core_write(H5FD_t *_file, H5FD_mem_t type, hid_t fapl_id, haddr_t addr, diff --git a/src/H5FDmpio.c b/src/H5FDmpio.c index 3453a3b..73a66db 100644 --- a/src/H5FDmpio.c +++ b/src/H5FDmpio.c @@ -1192,7 +1192,7 @@ done: *------------------------------------------------------------------------- */ static herr_t -H5FD_mpio_get_handle(H5FD_t *_file, hid_t fapl, void** file_handle) +H5FD_mpio_get_handle(H5FD_t *_file, hid_t UNUSED fapl, void** file_handle) { H5FD_mpio_t *file = (H5FD_mpio_t *)_file; herr_t ret_value = SUCCEED; diff --git a/src/H5FDstdio.c b/src/H5FDstdio.c index a94812e..311fb98 100644 --- a/src/H5FDstdio.c +++ b/src/H5FDstdio.c @@ -596,6 +596,9 @@ H5FD_stdio_get_handle(H5FD_t *_file, hid_t fapl, void** file_handle) { H5FD_stdio_t *file = (H5FD_stdio_t *)_file; static const char *func="H5FD_stdio_get_handle"; /* Function Name for error reporting */ + + /* Shut compiler up */ + fapl=fapl; /* Clear the error stack */ H5Eclear(); |