diff options
author | David Young <dyoung@hdfgroup.org> | 2020-02-19 19:18:48 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:31:55 (GMT) |
commit | 422f5adebed49e6476cb54e2acb3e0b8db6ac558 (patch) | |
tree | 8935ddd38d3c3ba774179191a2f0ab57848e20e5 /src | |
parent | 995c8126ae0e7c3b1d2b02aaa42adf69c222d832 (diff) | |
download | hdf5-422f5adebed49e6476cb54e2acb3e0b8db6ac558.zip hdf5-422f5adebed49e6476cb54e2acb3e0b8db6ac558.tar.gz hdf5-422f5adebed49e6476cb54e2acb3e0b8db6ac558.tar.bz2 |
Replace the old H5F_DECODE_LENGTH() implementation with one that
initializes the variable it's loading on every path.
Diffstat (limited to 'src')
-rw-r--r-- | src/H5Fprivate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Fprivate.h b/src/H5Fprivate.h index 6b38945..a277543 100644 --- a/src/H5Fprivate.h +++ b/src/H5Fprivate.h @@ -453,7 +453,7 @@ uint64_decode(uint8_t **pp) 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 |