summaryrefslogtreecommitdiffstats
path: root/src/H5Tbit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Tbit.c')
-rw-r--r--src/H5Tbit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Tbit.c b/src/H5Tbit.c
index dd852a6..f70b038 100644
--- a/src/H5Tbit.c
+++ b/src/H5Tbit.c
@@ -305,7 +305,8 @@ H5T__bit_set_d(uint8_t *buf, size_t offset, size_t size, uint64_t val)
case H5T_ORDER_NONE:
case H5T_ORDER_MIXED:
default:
- HDabort();
+ /* This function can't return errors */
+ assert(0 && "unknown byte order");
}
H5T__bit_copy(buf, offset, (uint8_t *)&val, (size_t)0, size);