summaryrefslogtreecommitdiffstats
path: root/src/H5C.c
diff options
context:
space:
mode:
authordyoung <dyoung@jelly.ad.hdfgroup.org>2019-08-22 19:10:11 (GMT)
committerdyoung <dyoung@jelly.ad.hdfgroup.org>2019-08-22 19:10:11 (GMT)
commit61109c76b2975c6c8347bfa6c0779624fbef1acc (patch)
treeb6198a4eeabc14b372d75455fa3c7df6dc8c99be /src/H5C.c
parentf85986fa9f50431f89d6fb2f6edfcc8ec52bcf78 (diff)
downloadhdf5-61109c76b2975c6c8347bfa6c0779624fbef1acc.zip
hdf5-61109c76b2975c6c8347bfa6c0779624fbef1acc.tar.gz
hdf5-61109c76b2975c6c8347bfa6c0779624fbef1acc.tar.bz2
Quiet warnings, especially signed/unsigned casts.
Diffstat (limited to 'src/H5C.c')
-rw-r--r--src/H5C.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5C.c b/src/H5C.c
index 88d6442..038f103 100644
--- a/src/H5C.c
+++ b/src/H5C.c
@@ -7096,7 +7096,9 @@ H5C_load_entry(H5F_t * f,
void * thing = NULL; /* Pointer to thing loaded */
H5C_cache_entry_t *entry = NULL; /* Alias for thing loaded, as */
/* cache entry */
+#if 0
size_t init_len;
+#endif
size_t len; /* Size of image in file */
#ifdef H5_HAVE_PARALLEL
int mpi_rank = 0; /* MPI process rank */
@@ -7147,7 +7149,9 @@ H5C_load_entry(H5F_t * f,
HDassert(len > 0);
+#if 0
init_len = len;
+#endif
/* Check for possible speculative read off the end of the file */
if ( type->flags & H5C__CLASS_SPECULATIVE_LOAD_FLAG ) {