diff options
author | Sean McBride <sean@rogue-research.com> | 2023-07-20 12:57:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-20 12:57:54 (GMT) |
commit | b68988d2d21c57ca02c054272aec01ad86b67ea7 (patch) | |
tree | 2befae3afda4764179e474c1e8f35a2c486c51f8 /examples | |
parent | 5f0d1439f756031b5ae8942b7000bc7c2bf1f0af (diff) | |
download | hdf5-b68988d2d21c57ca02c054272aec01ad86b67ea7.zip hdf5-b68988d2d21c57ca02c054272aec01ad86b67ea7.tar.gz hdf5-b68988d2d21c57ca02c054272aec01ad86b67ea7.tar.bz2 |
Fixed some -Wunused-variable warnings and one Wsometimes-uninitialized warning (#3260)
Diffstat (limited to 'examples')
-rw-r--r-- | examples/ph5_filtered_writes.c | 2 | ||||
-rw-r--r-- | examples/ph5_filtered_writes_no_sel.c | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/examples/ph5_filtered_writes.c b/examples/ph5_filtered_writes.c index f5c1169..104704a 100644 --- a/examples/ph5_filtered_writes.c +++ b/examples/ph5_filtered_writes.c @@ -125,7 +125,6 @@ write_dataset_no_overlap(hid_t file_id, hid_t dxpl_id) hsize_t start[EXAMPLE_DSET_DIMS]; hsize_t stride[EXAMPLE_DSET_DIMS]; hsize_t count[EXAMPLE_DSET_DIMS]; - size_t i, j; hid_t dset_id = H5I_INVALID_HID; hid_t dcpl_id = H5I_INVALID_HID; hid_t file_dataspace = H5I_INVALID_HID; @@ -244,7 +243,6 @@ write_dataset_overlap(hid_t file_id, hid_t dxpl_id) hsize_t start[EXAMPLE_DSET_DIMS]; hsize_t stride[EXAMPLE_DSET_DIMS]; hsize_t count[EXAMPLE_DSET_DIMS]; - size_t i, j; hid_t dset_id = H5I_INVALID_HID; hid_t dcpl_id = H5I_INVALID_HID; hid_t file_dataspace = H5I_INVALID_HID; diff --git a/examples/ph5_filtered_writes_no_sel.c b/examples/ph5_filtered_writes_no_sel.c index 05367d7..a4d9e16 100644 --- a/examples/ph5_filtered_writes_no_sel.c +++ b/examples/ph5_filtered_writes_no_sel.c @@ -126,7 +126,6 @@ write_dataset_some_no_sel(hid_t file_id, hid_t dxpl_id) hsize_t stride[EXAMPLE_DSET_DIMS]; hsize_t count[EXAMPLE_DSET_DIMS]; hbool_t no_selection; - size_t i, j; hid_t dset_id = H5I_INVALID_HID; hid_t dcpl_id = H5I_INVALID_HID; hid_t file_dataspace = H5I_INVALID_HID; |