diff options
author | David Young <dyoung@hdfgroup.org> | 2019-11-27 17:26:02 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:20:17 (GMT) |
commit | 77144641dfb63077623a7b7c3e30a30e4f1a3e10 (patch) | |
tree | 9f60d69e4795bbf17595dc5772f610b0a6fa8c8f /hl | |
parent | e07ca4b4a537733deb8a0af491b60e6e62eb4f3f (diff) | |
download | hdf5-77144641dfb63077623a7b7c3e30a30e4f1a3e10.zip hdf5-77144641dfb63077623a7b7c3e30a30e4f1a3e10.tar.gz hdf5-77144641dfb63077623a7b7c3e30a30e4f1a3e10.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')
-rw-r--r-- | hl/src/H5DS.c | 2 | ||||
-rw-r--r-- | hl/test/H5srcdir_str.h.in | 2 |
2 files changed, 2 insertions, 2 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 *------------------------------------------------------------------------- diff --git a/hl/test/H5srcdir_str.h.in b/hl/test/H5srcdir_str.h.in index ba30a88..bab1df3 100644 --- a/hl/test/H5srcdir_str.h.in +++ b/hl/test/H5srcdir_str.h.in @@ -16,5 +16,5 @@ */ /* Set the 'srcdir' path from configure time */ -#define config_srcdir "@srcdir@" +static const char *config_srcdir = "@srcdir@"; |