mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
Merge pull request #2384 in HDFFV/hdf5 from h5f_decode_length to develop
* commit '158ba17be0ad40e3e47a951c1340710608347772': Replace the old H5F_DECODE_LENGTH() implementation with one that initializes the variable it's loading on every path.
This commit is contained in:
commit
c5ab228563
@ -432,7 +432,7 @@ typedef struct H5F_t H5F_t;
|
||||
default: HDassert("bad sizeof size" && 0); \
|
||||
}
|
||||
|
||||
#define H5F_DECODE_LENGTH(f,p,l) H5F_DECODE_LENGTH_LEN(p,l,H5F_SIZEOF_SIZE(f))
|
||||
#define H5F_DECODE_LENGTH(f,p,l) DECODE_VAR(p,l,H5F_SIZEOF_SIZE(f))
|
||||
|
||||
/*
|
||||
* Macros that check for overflows. These are somewhat dangerous to fiddle
|
||||
|
Loading…
Reference in New Issue
Block a user