summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hl/src/H5DS.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/hl/src/H5DS.c b/hl/src/H5DS.c
index 63fb461..82dc129 100644
--- a/hl/src/H5DS.c
+++ b/hl/src/H5DS.c
@@ -1460,10 +1460,6 @@ out:
*
* Date: January 11, 2005
*
-* Comments:
-*
-* Modifications:
-*
*-------------------------------------------------------------------------
*/
@@ -1481,6 +1477,9 @@ herr_t H5DSset_label(hid_t did, unsigned int idx, const char *label)
char ** buf; /* discarding the 'const' qualifier in the free */
char const ** const_buf; /* buf calls */
} u;
+
+ HDmemset(&u, 0, sizeof(u));
+
/*-------------------------------------------------------------------------
* parameter checking
*-------------------------------------------------------------------------