diff options
author | Sean McBride <sean@rogue-research.com> | 2021-02-22 17:37:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-22 17:37:12 (GMT) |
commit | 5ed255a607d604b45e92b06548682ae9b716535d (patch) | |
tree | 3dcf8239efca99143e561743c2ae997ce9ceca09 /src/H5HLmodule.h | |
parent | 99669024ff93df3ade5b8a1e6eee8bef6df57161 (diff) | |
download | hdf5-5ed255a607d604b45e92b06548682ae9b716535d.zip hdf5-5ed255a607d604b45e92b06548682ae9b716535d.tar.gz hdf5-5ed255a607d604b45e92b06548682ae9b716535d.tar.bz2 |
Fixed all -Wincompatible-pointer-types-discards-qualifiers warnings (#341)
* Fixed various -Wincompatible-pointer-types-discards-qualifiers warnings by adding const
* Fixed various -Wincompatible-pointer-types-discards-qualifiers warning by removing extraneous consts
There were casts with const, but the function parameter doesn't actaully take const, so just modified the casts.
In the other case, a local variable was const that should not have been, becuase its source wasn't const either.
* Fixed a -Wincompatible-pointer-types-discards-qualifiers warning by strdup-ing a string
Create a duplicate string instead of mutating a supposedly const one.
Diffstat (limited to 'src/H5HLmodule.h')
0 files changed, 0 insertions, 0 deletions