diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2021-05-24 13:53:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-24 13:53:24 (GMT) |
commit | bee09040d39d265d28b230735e28c3603a5da217 (patch) | |
tree | 17815ad7874f496e9c8fe8c47df67d04d30ecc93 /tools/test/h5stat | |
parent | 2142359709a65de6669d76c33c7574202e6909c8 (diff) | |
download | hdf5-bee09040d39d265d28b230735e28c3603a5da217.zip hdf5-bee09040d39d265d28b230735e28c3603a5da217.tar.gz hdf5-bee09040d39d265d28b230735e28c3603a5da217.tar.bz2 |
Fixes for a couple of trivial warnings (#676)
* Committing clang-format changes
* Trivial warning fixes:
* Removes an unused done target in H5Tbit.c
* Add (void) to quiet "ignored return value" warnings in the generators
(which generally ignore errors)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'tools/test/h5stat')
-rw-r--r-- | tools/test/h5stat/h5stat_gentest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test/h5stat/h5stat_gentest.c b/tools/test/h5stat/h5stat_gentest.c index b55cd06..a9813e7 100644 --- a/tools/test/h5stat/h5stat_gentest.c +++ b/tools/test/h5stat/h5stat_gentest.c @@ -497,7 +497,7 @@ gen_err_refcount(const char *fname) attribute message */ if ((fd = HDopen(fname, O_RDWR, 0633)) >= 0) { HDlseek(fd, 4520 + 24, SEEK_SET); - HDwrite(fd, &val, 2); + (void)HDwrite(fd, &val, 2); HDclose(fd); } |