From 158ba17be0ad40e3e47a951c1340710608347772 Mon Sep 17 00:00:00 2001 From: David Young Date: Wed, 19 Feb 2020 13:18:48 -0600 Subject: Replace the old H5F_DECODE_LENGTH() implementation with one that initializes the variable it's loading on every path. --- src/H5Fprivate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/H5Fprivate.h b/src/H5Fprivate.h index f0c28ca..fbb164d 100644 --- a/src/H5Fprivate.h +++ b/src/H5Fprivate.h @@ -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 -- cgit v0.12