summaryrefslogtreecommitdiffstats
path: root/src/H5Fprivate.h
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-02-19 19:18:48 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-02-19 19:18:48 (GMT)
commit158ba17be0ad40e3e47a951c1340710608347772 (patch)
treef19b68fa99e17ec5220a6c32a4d526a46262faaf /src/H5Fprivate.h
parent7b4131c2ae997f8e870ed57a9fca2f7f6d3ea233 (diff)
downloadhdf5-158ba17be0ad40e3e47a951c1340710608347772.zip
hdf5-158ba17be0ad40e3e47a951c1340710608347772.tar.gz
hdf5-158ba17be0ad40e3e47a951c1340710608347772.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/H5Fprivate.h')
-rw-r--r--src/H5Fprivate.h2
1 files changed, 1 insertions, 1 deletions
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