diff options
author | David Young <dyoung@hdfgroup.org> | 2019-11-13 20:38:22 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:19:37 (GMT) |
commit | d1ceb04c5d837f4b594aeb27979ce6f586f2ea91 (patch) | |
tree | 20a1538797b03d2577eb720428f8edb3aeb2bc50 /src/H5Rint.c | |
parent | 34e51def7e14a991d399a2250f10ce7194210ca1 (diff) | |
download | hdf5-d1ceb04c5d837f4b594aeb27979ce6f586f2ea91.zip hdf5-d1ceb04c5d837f4b594aeb27979ce6f586f2ea91.tar.gz hdf5-d1ceb04c5d837f4b594aeb27979ce6f586f2ea91.tar.bz2 |
Quiet decleration-after-statement warnings.
Diffstat (limited to 'src/H5Rint.c')
-rw-r--r-- | src/H5Rint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Rint.c b/src/H5Rint.c index 504ae06..9fbc7ef 100644 --- a/src/H5Rint.c +++ b/src/H5Rint.c @@ -1169,8 +1169,8 @@ H5R__encode_region(H5S_t *space, unsigned char *buf, size_t *nalloc) /* Don't encode if buffer size isn't big enough or buffer is empty */ if(buf && *nalloc >= ((size_t)buf_size + 2 * H5_SIZEOF_UINT32_T)) { - p = (uint8_t *)buf; int rank; + p = (uint8_t *)buf; /* Encode the size for safety check */ UINT32ENCODE(p, (uint32_t)buf_size); |