diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-08-06 19:11:16 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2020-08-06 19:11:16 (GMT) |
commit | ee274b97f8e577b874165e93f95e7dbf8e73e675 (patch) | |
tree | 49a98360814bf082ddbd062dbc317e29cd498c6e /hl/src/H5DS.c | |
parent | 482ade4657c34188532a5b19664f37dcd3319edd (diff) | |
parent | 91ca481ff152e7a6b0326fcdb59e506141d2d32a (diff) | |
download | hdf5-ee274b97f8e577b874165e93f95e7dbf8e73e675.zip hdf5-ee274b97f8e577b874165e93f95e7dbf8e73e675.tar.gz hdf5-ee274b97f8e577b874165e93f95e7dbf8e73e675.tar.bz2 |
Merge pull request #2738 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop_minor to develop
* commit '91ca481ff152e7a6b0326fcdb59e506141d2d32a':
Reverts H5FDsplitter.c changes so they don't conflict with Quincey's big cleanup patch
Fixes -Wnull-dereference warnings around the cache logging calls
Fixes -Wnull-dereference warning in hl/src/H5DS.c
Adds -Wnull-dereference to the warnings we ignore in flex/bison generated code (that we have no control over).
Fixes warnings in the splitter VFD and tests
Diffstat (limited to 'hl/src/H5DS.c')
-rw-r--r-- | hl/src/H5DS.c | 7 |
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 *------------------------------------------------------------------------- |