diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-07-20 18:12:38 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2020-07-20 18:12:38 (GMT) |
commit | 795a2e5058c6214df1777a073e6b058638377003 (patch) | |
tree | 67cd7857bf11c4f746eb952148c47666f7526b52 /src/H5Cimage.c | |
parent | 8b6cd7cfddf91308cf860f2da3d28e208fd89788 (diff) | |
download | hdf5-795a2e5058c6214df1777a073e6b058638377003.zip hdf5-795a2e5058c6214df1777a073e6b058638377003.tar.gz hdf5-795a2e5058c6214df1777a073e6b058638377003.tar.bz2 |
Normalization with develop.
Diffstat (limited to 'src/H5Cimage.c')
-rw-r--r-- | src/H5Cimage.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/H5Cimage.c b/src/H5Cimage.c index 2139d81..ee286d9 100644 --- a/src/H5Cimage.c +++ b/src/H5Cimage.c @@ -1139,22 +1139,22 @@ H5C__load_cache_image(H5F_t *f) */ if(H5F_addr_defined(cache_ptr->image_addr)) { /* Sanity checks */ - HDassert(cache_ptr->image_len > 0); + HDassert(cache_ptr->image_len > 0); HDassert(cache_ptr->image_buffer == NULL); - /* Allocate space for the image */ + /* Allocate space for the image */ if(NULL == (cache_ptr->image_buffer = H5MM_malloc(cache_ptr->image_len + 1))) HGOTO_ERROR(H5E_CACHE, H5E_CANTALLOC, FAIL, "memory allocation failed for cache image buffer") - /* Load the image from file */ - if(H5C__read_cache_image(f, cache_ptr) < 0) + /* Load the image from file */ + if(H5C__read_cache_image(f, cache_ptr) < 0) HGOTO_ERROR(H5E_CACHE, H5E_READERROR, FAIL, "Can't read metadata cache image block") - /* Reconstruct cache contents, from image */ - if(H5C__reconstruct_cache_contents(f, cache_ptr) < 0) + /* Reconstruct cache contents, from image */ + if(H5C__reconstruct_cache_contents(f, cache_ptr) < 0) HGOTO_ERROR(H5E_CACHE, H5E_CANTDECODE, FAIL, "Can't reconstruct cache contents from image block") - /* Free the image buffer */ + /* Free the image buffer */ cache_ptr->image_buffer = H5MM_xfree(cache_ptr->image_buffer); /* Update stats -- must do this now, as we are about |