summaryrefslogtreecommitdiffstats
path: root/src/H5Tbit.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2021-05-11 16:05:03 (GMT)
committerGitHub <noreply@github.com>2021-05-11 16:05:03 (GMT)
commit7d140b97fbd78d8071780e38e3e4287f6711f7f6 (patch)
tree919d01a7fea79441cc40b38ea616b8c51e200f4d /src/H5Tbit.c
parent9023e98940d959aa974e655cc383fab0b0ed663c (diff)
downloadhdf5-7d140b97fbd78d8071780e38e3e4287f6711f7f6.zip
hdf5-7d140b97fbd78d8071780e38e3e4287f6711f7f6.tar.gz
hdf5-7d140b97fbd78d8071780e38e3e4287f6711f7f6.tar.bz2
Purges UFAIL from the library (#637)
* Committing clang-format changes * Purges UFAIL from the library * H5HL_insert change requested in PR Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'src/H5Tbit.c')
-rw-r--r--src/H5Tbit.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/H5Tbit.c b/src/H5Tbit.c
index e2ca4b9..9f0c061 100644
--- a/src/H5Tbit.c
+++ b/src/H5Tbit.c
@@ -228,10 +228,7 @@ done:
* Purpose: Return a small bit sequence as a number. Bit vector starts
* at OFFSET and is SIZE bits long.
*
- * Return: Success: The bit sequence interpretted as an unsigned
- * integer.
- *
- * Failure: 0
+ * Return: The bit sequence interpretted as an unsigned integer
*
*-------------------------------------------------------------------------
*/
@@ -264,8 +261,8 @@ H5T__bit_get_d(uint8_t *buf, size_t offset, size_t size)
case H5T_ORDER_NONE:
case H5T_ORDER_MIXED:
default:
- /* Unknown endianness. Bail out. */
- HGOTO_DONE(UFAIL)
+ /* This function can't return errors */
+ HDassert(0 && "unknown byte order");
}
/* Set return value */