[svn-r28824] Description:

Reduce asserts on buffer alignment.

Tested on:
    Linux/32 & Linux/64 2.6.x (jam & myall) w/serial
This commit is contained in:
Quincey Koziol 2016-01-06 14:10:21 -05:00
parent b834ac3653
commit 971af2d733

View File

@ -276,9 +276,6 @@ H5MM_malloc(size_t size)
FUNC_ENTER_NOAPI_NOINIT_NOERR
#if defined H5_MEMORY_ALLOC_SANITY_CHECK
/* Make certain that the buffer in the struct is properly aligned */
HDcompile_assert(offsetof(H5MM_block_t, b) % sizeof(double) == 0);
/* Initialize block list head singleton */
if(!H5MM_init_s) {
HDmemcpy(H5MM_block_head_s.sig, H5MM_block_signature_s, H5MM_SIG_SIZE);