summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5detect.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5detect.c b/src/H5detect.c
index 2bf0d2d..25fe778 100644
--- a/src/H5detect.c
+++ b/src/H5detect.c
@@ -238,6 +238,7 @@ precision (detected_t *d)
unsigned char *_x; \
\
HDmemset(&INFO, 0, sizeof(INFO)); \
+ HDmemset(INFO.perm, 0, sizeof(INFO.perm)); \
INFO.varname = #VAR; \
INFO.size = sizeof(TYPE); \
\
@@ -297,6 +298,7 @@ precision (detected_t *d)
char *_mesg; \
\
HDmemset(&INFO, 0, sizeof(INFO)); \
+ HDmemset(INFO.perm, 0, sizeof(INFO.perm)); \
INFO.varname = #VAR; \
INFO.size = sizeof(TYPE); \
\