summaryrefslogtreecommitdiffstats
path: root/src/H5Olayout.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-09-10 19:59:38 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-09-10 19:59:38 (GMT)
commit1ce44ed19c26854b63fecbf081b474e4927dea3d (patch)
treec626edf8f9886a82cf3dfd099b78ad12ea4e39ec /src/H5Olayout.c
parent43bb1ba8e53c3eb23448baba68485222514ab992 (diff)
downloadhdf5-1ce44ed19c26854b63fecbf081b474e4927dea3d.zip
hdf5-1ce44ed19c26854b63fecbf081b474e4927dea3d.tar.gz
hdf5-1ce44ed19c26854b63fecbf081b474e4927dea3d.tar.bz2
[svn-r14139] Description:
Minor edits to clean up code. Tested on: FreeBSD/32 6.2 (duty)
Diffstat (limited to 'src/H5Olayout.c')
-rw-r--r--src/H5Olayout.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/H5Olayout.c b/src/H5Olayout.c
index d3fe92c..e750d48 100644
--- a/src/H5Olayout.c
+++ b/src/H5Olayout.c
@@ -143,17 +143,13 @@ H5O_layout_decode(H5F_t *f, hid_t UNUSED dxpl_id, unsigned UNUSED mesg_flags,
/* Read the size */
if(mesg->type != H5D_CHUNKED) {
- size_t temp_dim[H5O_LAYOUT_NDIMS];
-
- for(u = 0; u < ndims; u++)
- UINT32DECODE(p, temp_dim[u]);
-
/* Don't compute size of contiguous storage here, due to possible
* truncation of the dimension sizes when they were stored in this
* version of the layout message. Compute the contiguous storage
* size in the dataset code, where we've got the dataspace
* information available also. - QAK 5/26/04
*/
+ p += ndims * 4; /* Skip over dimension sizes (32-bit quantities) */
} /* end if */
else {
mesg->u.chunk.ndims=ndims;