summaryrefslogtreecommitdiffstats
path: root/src/H5Shyper.c
diff options
context:
space:
mode:
authorjhendersonHDF <jhenderson@hdfgroup.org>2022-05-08 09:38:32 (GMT)
committerGitHub <noreply@github.com>2022-05-08 09:38:32 (GMT)
commitea27e1380cf02e5f92d61cf9509596914c14e4df (patch)
treee753ad8ab4717fd9c1359b7a65dad274c599ca1c /src/H5Shyper.c
parentc0f314ad03f5ef0b4366ee625c83a7955a9ea87f (diff)
downloadhdf5-ea27e1380cf02e5f92d61cf9509596914c14e4df.zip
hdf5-ea27e1380cf02e5f92d61cf9509596914c14e4df.tar.gz
hdf5-ea27e1380cf02e5f92d61cf9509596914c14e4df.tar.bz2
Fixes for various warnings/alignment with develop branch (#1755)
Diffstat (limited to 'src/H5Shyper.c')
-rw-r--r--src/H5Shyper.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/H5Shyper.c b/src/H5Shyper.c
index 438afef..6bc5115 100644
--- a/src/H5Shyper.c
+++ b/src/H5Shyper.c
@@ -3499,39 +3499,6 @@ done:
/*--------------------------------------------------------------------------
NAME
- H5S__hyper_get_enc_size_real
- PURPOSE
- Determine the size to encode the hyperslab selection info
- USAGE
- hssize_t H5S__hyper_get_enc_size_real(max_size, enc_size)
- hsize_t max_size: IN: The maximum size of the hyperslab selection info
- unint8_t *enc_size: OUT:The encoding size
- RETURNS
- The size to encode hyperslab selection info
- DESCRIPTION
- Determine the size by comparing "max_size" with (2^32 - 1) and (2^16 - 1).
- GLOBAL VARIABLES
- COMMENTS, BUGS, ASSUMPTIONS
- EXAMPLES
- REVISION LOG
---------------------------------------------------------------------------*/
-static uint8_t
-H5S__hyper_get_enc_size_real(hsize_t max_size)
-{
- uint8_t ret_value;
-
- FUNC_ENTER_STATIC_NOERR
-
- if (max_size > H5S_UINT32_MAX)
- ret_value = H5S_SELECT_INFO_ENC_SIZE_8;
- else
- ret_value = H5S_SELECT_INFO_ENC_SIZE_4;
-
- FUNC_LEAVE_NOAPI(ret_value)
-} /* H5S__hyper_get_enc_size_real() */
-
-/*--------------------------------------------------------------------------
- NAME
H5S__hyper_get_version_enc_size
PURPOSE
Determine the version and encoded size to use for encoding hyperslab selection info