mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-06 17:20:42 +08:00
[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:
parent
b834ac3653
commit
971af2d733
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user