summaryrefslogtreecommitdiffstats
path: root/hl/src/H5DS.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2019-11-27 17:26:02 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2019-11-27 17:26:02 (GMT)
commit0108072f7a746b809952d5cc560577f931b64f71 (patch)
treeda729387e6ffc48a0fc3f2c73d57ff3e8b11457c /hl/src/H5DS.c
parent8fb9fb5d4dab0b7e9a9884611d0511e2a03228a2 (diff)
downloadhdf5-0108072f7a746b809952d5cc560577f931b64f71.zip
hdf5-0108072f7a746b809952d5cc560577f931b64f71.tar.gz
hdf5-0108072f7a746b809952d5cc560577f931b64f71.tar.bz2
Revert "Make a squash commit of 'Quiet some warnings by adjusting warnings level and fixing some code.' (commit 5c911d8baf3)"
Diffstat (limited to 'hl/src/H5DS.c')
-rw-r--r--hl/src/H5DS.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hl/src/H5DS.c b/hl/src/H5DS.c
index 44e0ecf9..b24f887 100644
--- a/hl/src/H5DS.c
+++ b/hl/src/H5DS.c
@@ -1433,7 +1433,7 @@ herr_t H5DSset_label(hid_t did, unsigned int idx, const char *label)
union { /* union is needed to eliminate compiler warnings about */
char ** buf; /* discarding the 'const' qualifier in the free */
char const ** const_buf; /* buf calls */
- } u = {.buf = NULL, .const_buf = NULL};
+ } u;
/*-------------------------------------------------------------------------
* parameter checking
*-------------------------------------------------------------------------